Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
Point country to the correct bucket.
  • Loading branch information
albags committed Jul 11, 2024
1 parent fd7d485 commit 46d6a9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ async def get_presigned_url(username, password, name, bucket, dep_id,

data = aiohttp.FormData()
data.add_field("name", name)
# data.add_field("country", bucket)
data.add_field("country", "test-upload")
data.add_field("country", bucket)
data.add_field("deployment", dep_id)
data.add_field("data_type", data_type)
data.add_field("filename", file_name)
Expand Down Expand Up @@ -153,9 +152,6 @@ def handle_upload(username, password, full_name, country, deployment, data_type,
if 'deployments' in st.session_state:
main(username, password, st.session_state.deployments)

# if username and password:
# deployments = get_deployments(username, password)
# main(username, password, deployments)

# To run this app, save it as `app.py`
# and run the following command in your terminal:
Expand Down

0 comments on commit 46d6a9b

Please sign in to comment.