Spaces:
Running
on
Zero
Running
on
Zero
generation4
Browse files
app.py
CHANGED
|
@@ -81,6 +81,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 81 |
container=False,
|
| 82 |
)
|
| 83 |
|
|
|
|
|
|
|
| 84 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 85 |
|
| 86 |
with gr.Row():
|
|
@@ -140,7 +142,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 140 |
#gr.Examples(examples=examples, inputs=[prompt, ref])
|
| 141 |
|
| 142 |
def show_result():
|
| 143 |
-
return gr.update(visible=True)
|
| 144 |
|
| 145 |
gr.on(
|
| 146 |
triggers=[run_button.click, prompt.submit],
|
|
|
|
| 81 |
container=False,
|
| 82 |
)
|
| 83 |
|
| 84 |
+
editing_caption = prompt
|
| 85 |
+
|
| 86 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 87 |
|
| 88 |
with gr.Row():
|
|
|
|
| 142 |
#gr.Examples(examples=examples, inputs=[prompt, ref])
|
| 143 |
|
| 144 |
def show_result():
|
| 145 |
+
return gr.update(visible=True)
|
| 146 |
|
| 147 |
gr.on(
|
| 148 |
triggers=[run_button.click, prompt.submit],
|