XDHDD commited on
Commit
4a2e676
1 Parent(s): a7bdd78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- audio = r.record(source)
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: