Jordan Pierce
commited on
Commit
·
c316141
1
Parent(s):
2f16cbe
quick fix
Browse files- .idea/workspace.xml +1 -2
- app.py +1 -1
.idea/workspace.xml
CHANGED
|
@@ -5,7 +5,6 @@
|
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="e4d9959f-0c5b-4a80-8b43-a006df26f93a" name="Changes" comment="">
|
| 8 |
-
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -54,7 +53,7 @@
|
|
| 54 |
<option name="presentableId" value="Default" />
|
| 55 |
<updated>1666646148268</updated>
|
| 56 |
<workItem from="1666646160771" duration="3554000" />
|
| 57 |
-
<workItem from="1666649813029" duration="
|
| 58 |
</task>
|
| 59 |
<servers />
|
| 60 |
</component>
|
|
|
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="e4d9959f-0c5b-4a80-8b43-a006df26f93a" name="Changes" comment="">
|
|
|
|
| 8 |
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
| 9 |
</list>
|
| 10 |
<option name="SHOW_DIALOG" value="false" />
|
|
|
|
| 53 |
<option name="presentableId" value="Default" />
|
| 54 |
<updated>1666646148268</updated>
|
| 55 |
<workItem from="1666646160771" duration="3554000" />
|
| 56 |
+
<workItem from="1666649813029" duration="314000" />
|
| 57 |
</task>
|
| 58 |
<servers />
|
| 59 |
</component>
|
app.py
CHANGED
|
@@ -209,7 +209,7 @@ description = "Gradio demo for MBARI Monterey Bay Benthic Supercategory: This "
|
|
| 209 |
examples = [glob.glob("images/*.png")]
|
| 210 |
|
| 211 |
gr.Interface(run_inference,
|
| 212 |
-
inputs=gr.inputs.Image(type="
|
| 213 |
outputs=gr.outputs.Image(type="pil"),
|
| 214 |
enable_queue=True,
|
| 215 |
title=title,
|
|
|
|
| 209 |
examples = [glob.glob("images/*.png")]
|
| 210 |
|
| 211 |
gr.Interface(run_inference,
|
| 212 |
+
inputs=gr.inputs.Image(type="filepath"),
|
| 213 |
outputs=gr.outputs.Image(type="pil"),
|
| 214 |
enable_queue=True,
|
| 215 |
title=title,
|