elizabetvaganova
commited on
Commit
·
29f42c1
1
Parent(s):
f5dfce7
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
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
|