Spaces:
Runtime error
Runtime error
Commit ·
18758d7
1
Parent(s): 939667f
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import asyncio
|
| 2 |
try:
|
| 3 |
asyncio.set_event_loop(asyncio.new_event_loop())
|
| 4 |
except Exception:
|
| 5 |
pass
|
| 6 |
|
|
|
|
| 7 |
import gradio as gr
|
| 8 |
import hashlib, hmac, os, time, math, gc, random, threading
|
| 9 |
from itertools import permutations, combinations
|
|
|
|
| 1 |
+
import warnings
|
| 2 |
+
warnings.filterwarnings("ignore", category=UserWarning)
|
| 3 |
+
warnings.filterwarnings("ignore", category=RuntimeWarning)
|
| 4 |
+
|
| 5 |
import asyncio
|
| 6 |
try:
|
| 7 |
asyncio.set_event_loop(asyncio.new_event_loop())
|
| 8 |
except Exception:
|
| 9 |
pass
|
| 10 |
|
| 11 |
+
|
| 12 |
import gradio as gr
|
| 13 |
import hashlib, hmac, os, time, math, gc, random, threading
|
| 14 |
from itertools import permutations, combinations
|