vobecant
commited on
Commit
•
b3dd7de
1
Parent(s):
218a978
Initial commit.
Browse files- .idea/workspace.xml +16 -2
- app.py +3 -1
.idea/workspace.xml
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
<option name="number" value="Default" />
|
51 |
<option name="presentableId" value="Default" />
|
52 |
<updated>1647350746642</updated>
|
53 |
-
<workItem from="1647350750956" duration="
|
54 |
</task>
|
55 |
<task id="LOCAL-00001" summary="Initial commit.">
|
56 |
<created>1647352693910</created>
|
@@ -227,7 +227,21 @@
|
|
227 |
<option name="project" value="LOCAL" />
|
228 |
<updated>1647358970013</updated>
|
229 |
</task>
|
230 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
<servers />
|
232 |
</component>
|
233 |
<component name="TypeScriptGeneratedFilesManager">
|
|
|
50 |
<option name="number" value="Default" />
|
51 |
<option name="presentableId" value="Default" />
|
52 |
<updated>1647350746642</updated>
|
53 |
+
<workItem from="1647350750956" duration="8415000" />
|
54 |
</task>
|
55 |
<task id="LOCAL-00001" summary="Initial commit.">
|
56 |
<created>1647352693910</created>
|
|
|
227 |
<option name="project" value="LOCAL" />
|
228 |
<updated>1647358970013</updated>
|
229 |
</task>
|
230 |
+
<task id="LOCAL-00026" summary="Initial commit.">
|
231 |
+
<created>1647359105713</created>
|
232 |
+
<option name="number" value="00026" />
|
233 |
+
<option name="presentableId" value="LOCAL-00026" />
|
234 |
+
<option name="project" value="LOCAL" />
|
235 |
+
<updated>1647359105713</updated>
|
236 |
+
</task>
|
237 |
+
<task id="LOCAL-00027" summary="Initial commit.">
|
238 |
+
<created>1647359305043</created>
|
239 |
+
<option name="number" value="00027" />
|
240 |
+
<option name="presentableId" value="LOCAL-00027" />
|
241 |
+
<option name="project" value="LOCAL" />
|
242 |
+
<updated>1647359305043</updated>
|
243 |
+
</task>
|
244 |
+
<option name="localTasksCounter" value="28" />
|
245 |
<servers />
|
246 |
</component>
|
247 |
<component name="TypeScriptGeneratedFilesManager">
|
app.py
CHANGED
@@ -158,7 +158,9 @@ description = 'Gradio Demo accompanying paper "Drive&Segment: Unsupervised Seman
|
|
158 |
# article = "<p style='text-align: center'><a href='TODO' target='_blank'>Project Page</a> | <a href='codelink' target='_blank'>Github</a></p>"
|
159 |
examples = [['examples/img1.jpg']]
|
160 |
|
|
|
|
|
161 |
iface = gr.Interface(predict, gr.inputs.Image(type='filepath'), "image", title=title, description=description,
|
162 |
examples=examples)
|
163 |
|
164 |
-
iface.launch(debug=True,show_error=True)
|
|
|
158 |
# article = "<p style='text-align: center'><a href='TODO' target='_blank'>Project Page</a> | <a href='codelink' target='_blank'>Github</a></p>"
|
159 |
examples = [['examples/img1.jpg']]
|
160 |
|
161 |
+
predict(examples[0])
|
162 |
+
|
163 |
iface = gr.Interface(predict, gr.inputs.Image(type='filepath'), "image", title=title, description=description,
|
164 |
examples=examples)
|
165 |
|
166 |
+
iface.launch(debug=True, show_error=True)
|