Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1663,7 +1663,7 @@ if __name__ == "__main__":
|
|
1663 |
)
|
1664 |
print(images)
|
1665 |
|
1666 |
-
return
|
1667 |
|
1668 |
css = """
|
1669 |
#col-container{
|
@@ -1675,9 +1675,8 @@ if __name__ == "__main__":
|
|
1675 |
with gr.Column():
|
1676 |
gr.Markdown("# AccDiffusion")
|
1677 |
prompt = gr.Textbox(label="Prompt")
|
1678 |
-
submit_btn = gr.Button("
|
1679 |
-
|
1680 |
-
output_images = gr.Textbox()
|
1681 |
submit_btn.click(
|
1682 |
fn = infer,
|
1683 |
inputs = [prompt],
|
|
|
1663 |
)
|
1664 |
print(images)
|
1665 |
|
1666 |
+
return images
|
1667 |
|
1668 |
css = """
|
1669 |
#col-container{
|
|
|
1675 |
with gr.Column():
|
1676 |
gr.Markdown("# AccDiffusion")
|
1677 |
prompt = gr.Textbox(label="Prompt")
|
1678 |
+
submit_btn = gr.Button("Submit")
|
1679 |
+
output_images = gr.Gallery(format="png")
|
|
|
1680 |
submit_btn.click(
|
1681 |
fn = infer,
|
1682 |
inputs = [prompt],
|