Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ title = "SpecLab Demo"
|
|
189 |
description = "<p style='text-align: center'>Gradio demo for an ASPP model architecture trained on the SpecLab dataset. To use it, simply add your image, or click one of the examples to load them. Since this demo is run on CPU only, please allow additional time for processing. </p>"
|
190 |
article = "<p style='text-align: center'><a href='https://github.com/Nano1337/SpecLab'>Github Repo</a></p>"
|
191 |
css = "#0 {object-fit: contain;} #1 {object-fit: contain;}"
|
192 |
-
demo = gr.Interface(fn=
|
193 |
title=title,
|
194 |
description=description,
|
195 |
article=article,
|
|
|
189 |
description = "<p style='text-align: center'>Gradio demo for an ASPP model architecture trained on the SpecLab dataset. To use it, simply add your image, or click one of the examples to load them. Since this demo is run on CPU only, please allow additional time for processing. </p>"
|
190 |
article = "<p style='text-align: center'><a href='https://github.com/Nano1337/SpecLab'>Github Repo</a></p>"
|
191 |
css = "#0 {object-fit: contain;} #1 {object-fit: contain;}"
|
192 |
+
demo = gr.Interface(fn=detect_objects_in_image,
|
193 |
title=title,
|
194 |
description=description,
|
195 |
article=article,
|