Spaces:
Sleeping
Sleeping
ssl reecursion fix in app
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import sys
|
2 |
|
3 |
import gradio as gr
|
|
|
1 |
+
# found on https://stackoverflow.com/a/52130355 to fix infinite recursion with ssl
|
2 |
+
# at the beginning of the script
|
3 |
+
import gevent.monkey
|
4 |
+
gevent.monkey.patch_all()
|
5 |
+
|
6 |
import sys
|
7 |
|
8 |
import gradio as gr
|