fffiloni commited on
Commit
d61a4c0
1 Parent(s): 144c10a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -137,7 +137,10 @@ with gr.Blocks(css=css) as block:
137
  community_icon = gr.HTML(community_icon_html, visible=False)
138
  loading_icon = gr.HTML(loading_icon_html, visible=False)
139
  share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
140
-
 
 
 
141
 
142
  gr.HTML(article)
143
 
 
137
  community_icon = gr.HTML(community_icon_html, visible=False)
138
  loading_icon = gr.HTML(loading_icon_html, visible=False)
139
  share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
140
+
141
+ examples=[['27E894C4-9375-48A1-A95D-CB2425416B4B.png', "best",4], ['DB362F56-BA98-4CA1-A999-A25AA94B723B.png',"fast",4]]
142
+ ex = gr.Examples(examples=examples, fn=inference, inputs=[input_image, mode_input, flavor_input], outputs=[output_text, share_button, community_icon, loading_icon], cache_examples=True, run_on_click=True)
143
+ ex.dataset.headers = [""]
144
 
145
  gr.HTML(article)
146