tilos commited on
Commit
1ce8dc4
·
1 Parent(s): 425589d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ with gr.Blocks() as demo:
88
 
89
 
90
  btn_sub.click(infer, inputs = inputs, outputs = outputs)
91
- btn_sub.ref(get_row, inputs = None, outputs = inputs)
92
 
93
  #examples = gr.Examples(fn = infer, examples=[get_row()],inputs=inputs,outputs=outputs ,cache_examples=True)
94
  examples = gr.Examples(fn = infer, examples=[get_row()] ,inputs=inputs, outputs=outputs, cache_examples=False)
 
88
 
89
 
90
  btn_sub.click(infer, inputs = inputs, outputs = outputs)
91
+ btn_ref.click(get_row, inputs = None, outputs = inputs)
92
 
93
  #examples = gr.Examples(fn = infer, examples=[get_row()],inputs=inputs,outputs=outputs ,cache_examples=True)
94
  examples = gr.Examples(fn = infer, examples=[get_row()] ,inputs=inputs, outputs=outputs, cache_examples=False)