Spaces:
Runtime error
Runtime error
gorkemgoknar
commited on
Commit
•
c29bdc6
1
Parent(s):
ed76f50
Update app.py
Browse files
app.py
CHANGED
@@ -116,9 +116,10 @@ from gradio_client import Client
|
|
116 |
from huggingface_hub import InferenceClient
|
117 |
|
118 |
WHISPER_TIMEOUT = int(os.environ.get("WHISPER_TIMEOUT", 45))
|
119 |
-
whisper_client = Client("https://sanchit-gandhi-whisper-large-v2.hf.space/"
|
120 |
text_client = InferenceClient(
|
121 |
"mistralai/Mistral-7B-Instruct-v0.1"
|
|
|
122 |
)
|
123 |
|
124 |
|
|
|
116 |
from huggingface_hub import InferenceClient
|
117 |
|
118 |
WHISPER_TIMEOUT = int(os.environ.get("WHISPER_TIMEOUT", 45))
|
119 |
+
whisper_client = Client("https://sanchit-gandhi-whisper-large-v2.hf.space/")
|
120 |
text_client = InferenceClient(
|
121 |
"mistralai/Mistral-7B-Instruct-v0.1"
|
122 |
+
,timeout=WHISPER_TIMEOUT
|
123 |
)
|
124 |
|
125 |
|