<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Upload Activity results
Workflow activities are (optionally) uniquely labeled by the Workflow Definition. This label allows clients to upload metadata and files to activities by label. In this example, we create a new XX activity within an existing workflow.
Step1:  For illustration, we view the Workflow, showing links.activity_label.related, the URL where create_activity will POST the new Activity data
Step2:  Now, let's create the activity.
<ASSISTANT_TASK:>
Python Code:
# TODO source, destination
metadata = {'custom_attributes': {'my-attribute': 1}}
resources = {'resource-label': '/Users/barry/Desktop/Ovation Demo Files/results.txt'}
workflow_id = input('Workflow ID: ')
activity_label = input('Activity label: ')
Explanation: Upload Activity results
Workflow activities are (optionally) uniquely labeled by the Workflow Definition. This label allows clients to upload metadata and files to activities by label. In this example, we create a new XX activity within an existing workflow.
End of explanation
workflow = s.get(s.path('workflows', workflow_id))
pprint(workflow.workflow)
Explanation: For illustration, we view the Workflow, showing links.activity_label.related, the URL where create_activity will POST the new Activity data
End of explanation
activity = workflows.create_activity(s, workflow_id, activity_label, data=metadata, resources=resources, progress=tqdm)
Explanation: Now, let's create the activity.
End of explanation
<END_TASK>