elizabetvaganova commited on
Commit
29f42c1
·
1 Parent(s): f5dfce7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,4 +1,8 @@
1
- python -m pip install SpeechRecognition
 
 
 
 
2
 
3
  import gradio as gr
4
  import numpy as np
 
1
+ import subprocess
2
+
3
+ # Установка зависимостей внутри пространства
4
+ subprocess.run(["pip", "install", "vosk"])
5
+ subprocess.run(["pip", "install", "SpeechRecognition"])
6
 
7
  import gradio as gr
8
  import numpy as np