Spaces:
Runtime error
Runtime error
SerdarHelli
commited on
Commit
•
1cc9991
1
Parent(s):
14fb0af
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ with app:
|
|
163 |
output_mask_image = gr.Image(type='filepath')
|
164 |
|
165 |
|
166 |
-
gr.Examples(examples, inputs=[input_video, model_id,
|
167 |
input_video_button.click(Segformer_Segmentation, inputs=[input_video, model_id,cca], outputs=[output_orijinal_image, output_mask_image])
|
168 |
|
169 |
app.launch(debug=True)
|
|
|
163 |
output_mask_image = gr.Image(type='filepath')
|
164 |
|
165 |
|
166 |
+
gr.Examples(examples, inputs=[input_video, model_id,cca], outputs=[output_orijinal_image, output_mask_image], fn=Segformer_Segmentation, cache_examples=True)
|
167 |
input_video_button.click(Segformer_Segmentation, inputs=[input_video, model_id,cca], outputs=[output_orijinal_image, output_mask_image])
|
168 |
|
169 |
app.launch(debug=True)
|