Spaces:
Runtime error
Runtime error
Karthikeyaandhoju
commited on
Commit
•
8a4017a
1
Parent(s):
73d1f29
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,8 @@ async def transcribe_audio(transcription_request: TranscriptionRequest):
|
|
48 |
|
49 |
return TranscriptionResponse(text=transcription)
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
48 |
|
49 |
return TranscriptionResponse(text=transcription)
|
50 |
|
51 |
+
if __name__ == "__main__":
|
52 |
+
ngrok_tunnel = ngrok.connect(7860)
|
53 |
+
print('Public URL:', ngrok_tunnel.public_url+'/docs')
|
54 |
+
nest_asyncio.apply()
|
55 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|