Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,12 @@ async def generate(
|
|
| 99 |
if audio_path and os.path.exists(audio_path):
|
| 100 |
os.unlink(audio_path)
|
| 101 |
|
| 102 |
-
|
| 103 |
if __name__ == "__main__":
|
| 104 |
-
print("🚀 Rhythma
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
if audio_path and os.path.exists(audio_path):
|
| 100 |
os.unlink(audio_path)
|
| 101 |
|
|
|
|
| 102 |
if __name__ == "__main__":
|
| 103 |
+
print("🚀 Rhythma is live → http://localhost:8000/static/index.html")
|
| 104 |
+
print(" (Press CTRL+C to stop)")
|
| 105 |
+
uvicorn.run(
|
| 106 |
+
"app:app", # ← This was the problem (was "main:app")
|
| 107 |
+
host="0.0.0.0",
|
| 108 |
+
port=8000,
|
| 109 |
+
reload=True
|
| 110 |
+
)
|