Spaces:
Running
on
Zero
Running
on
Zero
ResearcherXman
commited on
Commit
•
9acec60
1
Parent(s):
31dfa92
add cache
Browse files
app.py
CHANGED
@@ -403,8 +403,10 @@ with gr.Blocks(css=css) as demo:
|
|
403 |
run_on_click=True,
|
404 |
fn=upload_example_to_gallery,
|
405 |
outputs=[uploaded_faces, clear_button_face, face_files],
|
|
|
406 |
)
|
407 |
|
408 |
gr.Markdown(article)
|
409 |
|
|
|
410 |
demo.launch()
|
|
|
403 |
run_on_click=True,
|
404 |
fn=upload_example_to_gallery,
|
405 |
outputs=[uploaded_faces, clear_button_face, face_files],
|
406 |
+
cache_examples=True
|
407 |
)
|
408 |
|
409 |
gr.Markdown(article)
|
410 |
|
411 |
+
demo.queue(api_open=False)
|
412 |
demo.launch()
|