Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -133,3 +133,7 @@ async def transcribe_and_translate_audio(
|
|
133 |
}
|
134 |
except Exception as e:
|
135 |
return JSONResponse(status_code=500, content={"error": str(e)})
|
|
|
|
|
|
|
|
|
|
133 |
}
|
134 |
except Exception as e:
|
135 |
return JSONResponse(status_code=500, content={"error": str(e)})
|
136 |
+
|
137 |
+
if __name__ == "__main__":
|
138 |
+
import uvicorn
|
139 |
+
uvicorn.run(app, host="0.0.0.0", port=8000)
|