Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ with gr.Blocks(css=css) as block:
|
|
154 |
loading_icon = gr.HTML(loading_icon_html, visible=False)
|
155 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
156 |
|
157 |
-
examples=[['
|
158 |
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)
|
159 |
ex.dataset.headers = [""]
|
160 |
|
|
|
154 |
loading_icon = gr.HTML(loading_icon_html, visible=False)
|
155 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
156 |
|
157 |
+
examples=[['eg1.jpeg', "best",4], ['eg2.jpeg',"fast",4]]
|
158 |
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)
|
159 |
ex.dataset.headers = [""]
|
160 |
|