zhiweili
commited on
Commit
Β·
425542b
1
Parent(s):
550147c
fix text_to_image
Browse files- app_onediff.py +1 -1
app_onediff.py
CHANGED
@@ -123,7 +123,7 @@ def create_demo() -> gr.Blocks:
|
|
123 |
time_cost = gr.Textbox(label="Time Cost", lines=1, interactive=False)
|
124 |
|
125 |
g_btn.click(
|
126 |
-
fn=
|
127 |
inputs=[prompt, steps],
|
128 |
outputs=[generated_image, time_cost],
|
129 |
)
|
|
|
123 |
time_cost = gr.Textbox(label="Time Cost", lines=1, interactive=False)
|
124 |
|
125 |
g_btn.click(
|
126 |
+
fn=text_to_image,
|
127 |
inputs=[prompt, steps],
|
128 |
outputs=[generated_image, time_cost],
|
129 |
)
|