samarth-ht commited on
Commit
ea89d31
·
verified ·
1 Parent(s): 58e3a83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -80,3 +80,12 @@ async def transcribe_audio(request: TranscriptionRequest):
80
 
81
  except Exception as e:
82
  raise HTTPException(status_code=500, detail=str(e))
 
 
 
 
 
 
 
 
 
 
80
 
81
  except Exception as e:
82
  raise HTTPException(status_code=500, detail=str(e))
83
+
84
+ @app.get("/")
85
+ async def root():
86
+ return {"message": "Welcome to the Stem Extractor API. Use the /transcribe endpoint."}
87
+
88
+
89
+ if __name__ == "__main__":
90
+ import uvicorn
91
+ uvicorn.run(app, host="0.0.0.0", port=7860)