Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,15 @@ from twilio.rest import Client
|
|
| 19 |
import logging
|
| 20 |
import whisper
|
| 21 |
import speech_recognition as sr
|
| 22 |
-
import
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
#model = whisper.load_model("base")
|
| 25 |
|
| 26 |
|
|
|
|
| 19 |
import logging
|
| 20 |
import whisper
|
| 21 |
import speech_recognition as sr
|
| 22 |
+
import logging
|
| 23 |
+
import streamlit.runtime.caching.cache_data_api as cache_logger
|
| 24 |
+
|
| 25 |
+
# Suppress specific Streamlit cache warnings
|
| 26 |
+
logging.getLogger(cache_logger.__name__).setLevel(logging.ERROR)
|
| 27 |
+
|
| 28 |
+
# Suppress "missing ScriptRunContext" warning
|
| 29 |
+
logging.getLogger("streamlit").setLevel(logging.ERROR)
|
| 30 |
+
|
| 31 |
#model = whisper.load_model("base")
|
| 32 |
|
| 33 |
|