Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- README_gradio.md +22 -0
- app.py +1 -1
README_gradio.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
app_file: app.py
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: red
|
| 5 |
+
emoji: 👂
|
| 6 |
+
license: mit
|
| 7 |
+
pinned: false
|
| 8 |
+
sdk: gradio
|
| 9 |
+
sdk_version: 5.16.0
|
| 10 |
+
short_description: Transcribe audio in realtime with Whisper - Gradio UI version
|
| 11 |
+
tags:
|
| 12 |
+
- webrtc
|
| 13 |
+
- websocket
|
| 14 |
+
- gradio
|
| 15 |
+
- secret|TWILIO_ACCOUNT_SID
|
| 16 |
+
- secret|TWILIO_AUTH_TOKEN
|
| 17 |
+
- secret|GROQ_API_KEY
|
| 18 |
+
title: Whisper Realtime Transcription (Gradio UI)
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -72,7 +72,7 @@ if __name__ == "__main__":
|
|
| 72 |
import os
|
| 73 |
|
| 74 |
if (mode := os.getenv("MODE")) == "UI":
|
| 75 |
-
stream.ui.launch(server_port=7860)
|
| 76 |
elif mode == "PHONE":
|
| 77 |
stream.fastphone(host="0.0.0.0", port=7860)
|
| 78 |
else:
|
|
|
|
| 72 |
import os
|
| 73 |
|
| 74 |
if (mode := os.getenv("MODE")) == "UI":
|
| 75 |
+
stream.ui.launch(server_port=7860, server_name="0.0.0.0")
|
| 76 |
elif mode == "PHONE":
|
| 77 |
stream.fastphone(host="0.0.0.0", port=7860)
|
| 78 |
else:
|