Spaces:
Runtime error
Runtime error
ilinieja
commited on
Commit
β’
6ef87b2
1
Parent(s):
7977ea8
fix
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 2.9.4
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -17,4 +17,4 @@ examples = ['alex.png']
|
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|
20 |
-
gr.Interface(fn=predict,inputs=gr.
|
|
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|
20 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|