Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ with gr.Blocks(css=css) as block:
|
|
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 |
|
161 |
gr.HTML(article)
|
|
|
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 |
|
161 |
gr.HTML(article)
|