Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ import urllib.parse
|
|
17 |
import http.client
|
18 |
|
19 |
# Suppress warnings
|
20 |
-
warnings.filterwarnings('ignore', category=
|
21 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
|
22 |
|
23 |
def initialize_environment():
|
|
|
17 |
import http.client
|
18 |
|
19 |
# Suppress warnings
|
20 |
+
warnings.filterwarnings('ignore', category=UserWarning) # Corrected here
|
21 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
|
22 |
|
23 |
def initialize_environment():
|