Jordan Pierce
commited on
Commit
·
4c9b3eb
1
Parent(s):
0aef2fe
adjusted code
Browse files- .idea/workspace.xml +1 -1
- app.py +2 -1
.idea/workspace.xml
CHANGED
|
@@ -64,7 +64,7 @@
|
|
| 64 |
<option name="number" value="Default" />
|
| 65 |
<option name="presentableId" value="Default" />
|
| 66 |
<updated>1666646148268</updated>
|
| 67 |
-
<workItem from="1666646160771" duration="
|
| 68 |
</task>
|
| 69 |
<servers />
|
| 70 |
</component>
|
|
|
|
| 64 |
<option name="number" value="Default" />
|
| 65 |
<option name="presentableId" value="Default" />
|
| 66 |
<updated>1666646148268</updated>
|
| 67 |
+
<workItem from="1666646160771" duration="3290000" />
|
| 68 |
</task>
|
| 69 |
<servers />
|
| 70 |
</component>
|
app.py
CHANGED
|
@@ -208,7 +208,8 @@ description = "Gradio demo for MBARI Monterey Bay Benthic Supercategory: This "
|
|
| 208 |
|
| 209 |
examples = [glob.glob("images/*.png")]
|
| 210 |
|
| 211 |
-
gr.Interface(
|
|
|
|
| 212 |
outputs=gr.outputs.Image(type="pil"),
|
| 213 |
enable_queue=True,
|
| 214 |
title=title,
|
|
|
|
| 208 |
|
| 209 |
examples = [glob.glob("images/*.png")]
|
| 210 |
|
| 211 |
+
gr.Interface(run_inference,
|
| 212 |
+
inputs=gr.inputs.Image(type="file"),
|
| 213 |
outputs=gr.outputs.Image(type="pil"),
|
| 214 |
enable_queue=True,
|
| 215 |
title=title,
|