Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,7 @@ css = """
|
|
| 23 |
with gr.Blocks(css=css) as interface:
|
| 24 |
with gr.Column(elem_id="col-container"):
|
| 25 |
gr.Markdown("# Text-to-Image Gradio Template")
|
|
|
|
| 26 |
|
| 27 |
with gr.Row():
|
| 28 |
prompt = gr.Textbox(
|
|
@@ -88,6 +89,4 @@ with gr.Blocks(css=css) as interface:
|
|
| 88 |
)
|
| 89 |
|
| 90 |
if __name__ == "__main__":
|
| 91 |
-
interface.launch(
|
| 92 |
-
description="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding."
|
| 93 |
-
)
|
|
|
|
| 23 |
with gr.Blocks(css=css) as interface:
|
| 24 |
with gr.Column(elem_id="col-container"):
|
| 25 |
gr.Markdown("# Text-to-Image Gradio Template")
|
| 26 |
+
gr.Markdown("Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding.")
|
| 27 |
|
| 28 |
with gr.Row():
|
| 29 |
prompt = gr.Textbox(
|
|
|
|
| 89 |
)
|
| 90 |
|
| 91 |
if __name__ == "__main__":
|
| 92 |
+
interface.launch()
|
|
|
|
|
|