Update app.py
Browse files
app.py
CHANGED
@@ -310,10 +310,10 @@ if st.button('Сгенерировать потери'):
|
|
310 |
|
311 |
|
312 |
|
313 |
-
harvard = speech_r.AudioFile('lossy.wav')
|
314 |
-
with harvard as source:
|
315 |
-
|
316 |
-
lossy = r.recognize_google(audio, language = "ru-RU")
|
317 |
|
318 |
try:
|
319 |
with harvard as source:
|
|
|
310 |
|
311 |
|
312 |
|
313 |
+
#harvard = speech_r.AudioFile('lossy.wav')
|
314 |
+
#with harvard as source:
|
315 |
+
# audio = r.record(source)
|
316 |
+
#lossy = r.recognize_google(audio, language = "ru-RU")
|
317 |
|
318 |
try:
|
319 |
with harvard as source:
|