Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -473,4 +473,8 @@ def delete_self():
|
|
| 473 |
os.remove(path)
|
| 474 |
print(f"{path} deleted")
|
| 475 |
except Exception as e:
|
| 476 |
-
print(f"Could not delete {path}: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 473 |
os.remove(path)
|
| 474 |
print(f"{path} deleted")
|
| 475 |
except Exception as e:
|
| 476 |
+
print(f"Could not delete {path}: {e}")
|
| 477 |
+
|
| 478 |
+
if __name__ == "__main__":
|
| 479 |
+
import uvicorn
|
| 480 |
+
uvicorn.run("app:app", host="0.0.0.0", port=7860)
|