Spaces:
Sleeping
Sleeping
Commit
·
7b4ca7a
1
Parent(s):
2cfbf68
adding files
Browse files
main.py
CHANGED
|
@@ -64,7 +64,3 @@ async def clear_data():
|
|
| 64 |
# Overwrite the existing file in GCS with the empty CSV data
|
| 65 |
gcs_bucket.blob(gcs_file_path).upload_from_string(csv_data, content_type='text/csv')
|
| 66 |
return {"message": "Data cleared successfully"}
|
| 67 |
-
|
| 68 |
-
if __name__ == "__main__":
|
| 69 |
-
import uvicorn
|
| 70 |
-
uvicorn.run(app, host="0.0.0.0", port=8123)
|
|
|
|
| 64 |
# Overwrite the existing file in GCS with the empty CSV data
|
| 65 |
gcs_bucket.blob(gcs_file_path).upload_from_string(csv_data, content_type='text/csv')
|
| 66 |
return {"message": "Data cleared successfully"}
|
|
|
|
|
|
|
|
|
|
|
|