Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,8 @@ from diffusers.utils import load_image
|
|
24 |
def port_inc():
|
25 |
os.environ["GRADIO_SERVER_PORT"]=str(int(os.getenv("GRADIO_SERVER_PORT"))+1)
|
26 |
|
27 |
-
def init_pool(
|
28 |
-
|
29 |
-
b = q
|
30 |
|
31 |
_dynamo.config.suppress_errors = True
|
32 |
|
|
|
24 |
def port_inc():
|
25 |
os.environ["GRADIO_SERVER_PORT"]=str(int(os.getenv("GRADIO_SERVER_PORT"))+1)
|
26 |
|
27 |
+
def init_pool():
|
28 |
+
port_inc()
|
|
|
29 |
|
30 |
_dynamo.config.suppress_errors = True
|
31 |
|