Spaces:
Runtime error
Runtime error
Update main.py
Browse files- app/main.py +0 -1
app/main.py
CHANGED
@@ -59,7 +59,6 @@ async def parse_body(request: Request):
|
|
59 |
|
60 |
@app.post("/upload")
|
61 |
def upload(data: bytes = Depends(parse_body)):
|
62 |
-
print("Data : " + str(data))
|
63 |
if data:
|
64 |
try:
|
65 |
path = f"{files_dir}/file"
|
|
|
59 |
|
60 |
@app.post("/upload")
|
61 |
def upload(data: bytes = Depends(parse_body)):
|
|
|
62 |
if data:
|
63 |
try:
|
64 |
path = f"{files_dir}/file"
|