Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -239,8 +239,8 @@ def ui():
|
|
239 |
run_button.click(fn=main,inputs=[prompt,prompt2],outputs=result)
|
240 |
demo.queue().launch(server_port=int(os.getenv("CUSTOM_PORT")))
|
241 |
|
242 |
-
mp.set_start_method("spawn", force=True)
|
243 |
-
ui()
|
244 |
if __name__ == "__main__":
|
245 |
port_inc()
|
246 |
-
_dynamo.config.suppress_errors = True
|
|
|
|
|
|
239 |
run_button.click(fn=main,inputs=[prompt,prompt2],outputs=result)
|
240 |
demo.queue().launch(server_port=int(os.getenv("CUSTOM_PORT")))
|
241 |
|
|
|
|
|
242 |
if __name__ == "__main__":
|
243 |
port_inc()
|
244 |
+
_dynamo.config.suppress_errors = True
|
245 |
+
mp.set_start_method("spawn", force=True)
|
246 |
+
ui()
|