Yaron Koresh commited on
Commit
d7de195
·
verified ·
1 Parent(s): 1f4bd3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css) as demo:
119
  with gr.Row():
120
  run_button = gr.Button("Run")
121
  result = gr.Image(elem_id="image-container", label="Result", show_label=False, type='filepath')
122
- prompt.change(
123
  fn = limiter,
124
  inputs = [prompt],
125
  outputs = [prompt]
 
119
  with gr.Row():
120
  run_button = gr.Button("Run")
121
  result = gr.Image(elem_id="image-container", label="Result", show_label=False, type='filepath')
122
+ prompt.input(
123
  fn = limiter,
124
  inputs = [prompt],
125
  outputs = [prompt]