let's deploy to huggingface spaces
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Catloaf
|
3 |
-
emoji:
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
title: Catloaf
|
3 |
+
emoji: 🐱
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -16,4 +16,4 @@ examples = ['cat-loaf.jpg', 'bread-loaf.jpg']
|
|
16 |
interpretation='default'
|
17 |
enable_queue=True
|
18 |
|
19 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=
|
|
|
16 |
interpretation='default'
|
17 |
enable_queue=True
|
18 |
|
19 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|