Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ enable_queue=True
|
|
| 36 |
#
|
| 37 |
## gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
| 38 |
#
|
| 39 |
-
gr.Interface(
|
| 40 |
fn=predict,
|
| 41 |
inputs=gr.inputs.Image(shape=(512, 512)),
|
| 42 |
outputs=gr.outputs.Label(),
|
|
@@ -44,5 +44,7 @@ gr.Interface(
|
|
| 44 |
description=description,
|
| 45 |
examples=examples,
|
| 46 |
cache_examples=True,
|
| 47 |
-
examples_per_page=2
|
| 48 |
-
|
|
|
|
|
|
|
|
|
| 36 |
#
|
| 37 |
## gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
| 38 |
#
|
| 39 |
+
inter = gr.Interface(
|
| 40 |
fn=predict,
|
| 41 |
inputs=gr.inputs.Image(shape=(512, 512)),
|
| 42 |
outputs=gr.outputs.Label(),
|
|
|
|
| 44 |
description=description,
|
| 45 |
examples=examples,
|
| 46 |
cache_examples=True,
|
| 47 |
+
examples_per_page=2)
|
| 48 |
+
|
| 49 |
+
inter.queue()
|
| 50 |
+
inter.launch()
|