Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ import sys
|
|
25 |
import warnings
|
26 |
|
27 |
warnings.filterwarnings("ignore")
|
|
|
28 |
|
29 |
last_motion=None
|
30 |
fps=15
|
@@ -277,6 +278,4 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
|
|
277 |
triggers=[run_button.click, prompt.submit, prompt2.submit],
|
278 |
fn=run,inputs=[img,motion,prompt,prompt2,*result],outputs=result
|
279 |
)
|
280 |
-
demo.queue().launch()
|
281 |
-
|
282 |
-
sys.stderr = Suppress()
|
|
|
25 |
import warnings
|
26 |
|
27 |
warnings.filterwarnings("ignore")
|
28 |
+
sys.stderr = Suppress()
|
29 |
|
30 |
last_motion=None
|
31 |
fps=15
|
|
|
278 |
triggers=[run_button.click, prompt.submit, prompt2.submit],
|
279 |
fn=run,inputs=[img,motion,prompt,prompt2,*result],outputs=result
|
280 |
)
|
281 |
+
demo.queue().launch()
|
|
|
|