Spaces:
Sleeping
Sleeping
Guillermo Uribe Vicencio
commited on
Commit
·
a9f3255
1
Parent(s):
bc2c79f
app.py
CHANGED
|
@@ -248,10 +248,10 @@ model = init_segmentor(config, ckpt, device='cpu')
|
|
| 248 |
custom_test_pipeline=process_test_pipeline(model.cfg.data.test.pipeline, None)
|
| 249 |
|
| 250 |
|
|
|
|
| 251 |
|
| 252 |
func = partial(inference_on_file, model=model, custom_test_pipeline=custom_test_pipeline, bar_data=bar_data)
|
| 253 |
|
| 254 |
-
bar_data = pd.DataFrame(map_resume)
|
| 255 |
|
| 256 |
with gr.Blocks() as demo:
|
| 257 |
with gr.Row():
|
|
|
|
| 248 |
custom_test_pipeline=process_test_pipeline(model.cfg.data.test.pipeline, None)
|
| 249 |
|
| 250 |
|
| 251 |
+
bar_data = pd.DataFrame(map_resume)
|
| 252 |
|
| 253 |
func = partial(inference_on_file, model=model, custom_test_pipeline=custom_test_pipeline, bar_data=bar_data)
|
| 254 |
|
|
|
|
| 255 |
|
| 256 |
with gr.Blocks() as demo:
|
| 257 |
with gr.Row():
|