Arafath10 commited on
Commit
3a193d2
·
1 Parent(s): 16fdbf7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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(...)):