Spaces:
Running
Running
Commit
·
4e26332
1
Parent(s):
b78e216
update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ css = """
|
|
51 |
}
|
52 |
"""
|
53 |
|
54 |
-
with gr.Blocks(css=css
|
55 |
with gr.Column(elem_id="col-container"):
|
56 |
gr.Markdown(" # Text-to-Image Gradio Template")
|
57 |
|
@@ -154,4 +154,4 @@ with gr.Blocks(css=css, show_api=False) as demo:
|
|
154 |
)
|
155 |
|
156 |
if __name__ == "__main__":
|
157 |
-
demo.launch(show_api=False)
|
|
|
51 |
}
|
52 |
"""
|
53 |
|
54 |
+
with gr.Blocks(css=css) as demo:
|
55 |
with gr.Column(elem_id="col-container"):
|
56 |
gr.Markdown(" # Text-to-Image Gradio Template")
|
57 |
|
|
|
154 |
)
|
155 |
|
156 |
if __name__ == "__main__":
|
157 |
+
demo.launch(show_api=False, prevent_thread_lock=True)
|