miojizzy commited on
Commit
d237678
·
1 Parent(s): 2238352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -74,13 +74,13 @@ with gr.Blocks() as demo:
74
  btn = gr.Button(value="Submit")
75
  btn.click(my_function, inputs=[input1,input2], outputs=output)
76
 
77
- # gr.Examples(
78
- # [["hi", "Adam"], ["hello", "Eve"]],
79
- # [txt, txt_2],
80
- # txt_3,
81
- # my_function,
82
- # cache_examples=True,
83
- # )
84
  #demo = gr.Interface(
85
  # my_function,
86
  # gr.Textbox(),
 
74
  btn = gr.Button(value="Submit")
75
  btn.click(my_function, inputs=[input1,input2], outputs=output)
76
 
77
+ gr.Examples(
78
+ [["hi", "Adam"], ["hello", "Eve"]],
79
+ [input1, input2],
80
+ output,
81
+ my_function,
82
+ cache_examples=True,
83
+ )
84
  #demo = gr.Interface(
85
  # my_function,
86
  # gr.Textbox(),