Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def process_audio(file_path):
|
|
| 26 |
temperature=0.0 # Optional
|
| 27 |
)
|
| 28 |
# Return the transcription text
|
| 29 |
-
|
| 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)}"
|