mgokg commited on
Commit
aa3814d
·
verified ·
1 Parent(s): 84a0897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def process_audio(file_path):
26
  temperature=0.0 # Optional
27
  )
28
  # Return the transcription text
29
- inputs.clear()
30
  return transcription.text
31
  except Exception as e:
32
  return f"An error occurred: {str(e)}"
 
26
  temperature=0.0 # Optional
27
  )
28
  # Return the transcription text
29
+ sr_inputs.clear()
30
  return transcription.text
31
  except Exception as e:
32
  return f"An error occurred: {str(e)}"