ciaochris commited on
Commit
4cd7d13
·
verified ·
1 Parent(s): 2449c07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
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 API + Beautiful Frontend running at http://localhost:8000")
105
- uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
 
 
 
 
 
 
 
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
+ )