Yaron Koresh commited on
Commit
f2f433f
·
verified ·
1 Parent(s): 694a055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.input(
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],