Spaces:
Build error
Build error
Matteo Sirri
commited on
Commit
·
50aa67b
1
Parent(s):
49a08b1
feat: add size
Browse files
app.py
CHANGED
|
@@ -56,10 +56,10 @@ description = '<p style="text-align:center">School in AI: Deep Learning, Vision
|
|
| 56 |
examples = ["001.jpg", "003.jpg", "005.jpg"]
|
| 57 |
|
| 58 |
io_baseline = gr.Interface(frcnn_coco, gr.Image(type="pil"), gr.Image(
|
| 59 |
-
type="file", label="Baseline Model trained on COCO + FT on MOT17"))
|
| 60 |
|
| 61 |
io_custom = gr.Interface(frcnn_motsynth, gr.Image(type="pil"), gr.Image(
|
| 62 |
-
type="file", label="Faster R-CNN trained on MOTSynth + FT on MOT17"))
|
| 63 |
|
| 64 |
gr.Parallel(io_baseline, io_custom, title=title,
|
| 65 |
description=description, examples=examples).launch(enable_queue=True)
|
|
|
|
| 56 |
examples = ["001.jpg", "003.jpg", "005.jpg"]
|
| 57 |
|
| 58 |
io_baseline = gr.Interface(frcnn_coco, gr.Image(type="pil"), gr.Image(
|
| 59 |
+
type="file", size=(1920,1080), label="Baseline Model trained on COCO + FT on MOT17"))
|
| 60 |
|
| 61 |
io_custom = gr.Interface(frcnn_motsynth, gr.Image(type="pil"), gr.Image(
|
| 62 |
+
type="file", size=(1920,1080), label="Faster R-CNN trained on MOTSynth + FT on MOT17"))
|
| 63 |
|
| 64 |
gr.Parallel(io_baseline, io_custom, title=title,
|
| 65 |
description=description, examples=examples).launch(enable_queue=True)
|