Spaces:
Sleeping
Sleeping
Jianpeng Li
commited on
Commit
·
9c3871b
1
Parent(s):
9f35f8e
replace space's url name
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def upload(file: UploadFile = File(...)):
|
|
34 |
finally:
|
35 |
file.file.close()
|
36 |
|
37 |
-
return {"message": f"Successfully uploaded {file_path}", "url": f"https://
|
38 |
|
39 |
|
40 |
def predict(text_input):
|
|
|
34 |
finally:
|
35 |
file.file.close()
|
36 |
|
37 |
+
return {"message": f"Successfully uploaded {file_path}", "url": f"https://fairedge-static-page.hf.space/{file_path}"}
|
38 |
|
39 |
|
40 |
def predict(text_input):
|