deepak6593 commited on
Commit
110c59a
·
1 Parent(s): 5b319d9

adding files

Browse files
Files changed (2) hide show
  1. main.py +0 -2
  2. requirements.txt +2 -1
main.py CHANGED
@@ -81,8 +81,6 @@ async def upload_data(payload: DataPayload):
81
  append_to_gcs_csv(df, gcs_file_path)
82
  return {"message": "Data uploaded successfully"}
83
 
84
-
85
-
86
  @app.post("/clear-data/")
87
  async def clear_data():
88
  # Create an empty DataFrame with the same columns
 
81
  append_to_gcs_csv(df, gcs_file_path)
82
  return {"message": "Data uploaded successfully"}
83
 
 
 
84
  @app.post("/clear-data/")
85
  async def clear_data():
86
  # Create an empty DataFrame with the same columns
requirements.txt CHANGED
@@ -2,4 +2,5 @@ fastapi
2
  uvicorn
3
  pandas
4
  gradio
5
- google-cloud-storage
 
 
2
  uvicorn
3
  pandas
4
  gradio
5
+ google-cloud-storage
6
+ pydantic