Spaces:
Sleeping
Sleeping
starbotica
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -30,4 +30,8 @@ description = """
|
|
30 |
interpretation='default'
|
31 |
enable_queue=True
|
32 |
|
33 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(744, 645)),outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
|
|
|
|
|
|
|
30 |
interpretation='default'
|
31 |
enable_queue=True
|
32 |
|
33 |
+
#gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(744, 645)),outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
34 |
+
entrada = gr.inputs.Image(shape=(744, 645))
|
35 |
+
salida = gr.outputs.Label(num_top_classes=2)
|
36 |
+
|
37 |
+
gr.Interface(fn=predict,inputs=entrada,outputs=salida,title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|