Spaces:
Runtime error
Runtime error
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css) as demo:
|
|
| 121 |
with gr.Row():
|
| 122 |
run_button = gr.Button("Run")
|
| 123 |
result = gr.Image(elem_id="image-container", label="Result", show_label=False, type='filepath')
|
| 124 |
-
prompt_value.
|
| 125 |
fn = limiter,
|
| 126 |
inputs = [prompt_value],
|
| 127 |
outputs = [prompt_value],
|
|
|
|
| 121 |
with gr.Row():
|
| 122 |
run_button = gr.Button("Run")
|
| 123 |
result = gr.Image(elem_id="image-container", label="Result", show_label=False, type='filepath')
|
| 124 |
+
prompt_value.change(
|
| 125 |
fn = limiter,
|
| 126 |
inputs = [prompt_value],
|
| 127 |
outputs = [prompt_value],
|