Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -19,7 +19,7 @@ def startup_event():
|
|
19 |
|
20 |
@app.get("/")
|
21 |
def read_root():
|
22 |
-
return {"message": "Hello World"}
|
23 |
|
24 |
@app.post("/uploadfile/")
|
25 |
async def create_upload_file(file: UploadFile = File(...)):
|
|
|
19 |
|
20 |
@app.get("/")
|
21 |
def read_root():
|
22 |
+
return {"message": "Hello World"+str(f.read())}
|
23 |
|
24 |
@app.post("/uploadfile/")
|
25 |
async def create_upload_file(file: UploadFile = File(...)):
|