Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
β’
a381f7b
1
Parent(s):
7a6c6c2
Update app.py
Browse files
app.py
CHANGED
@@ -112,4 +112,4 @@ def predict_image(image):
|
|
112 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
113 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
114 |
|
115 |
-
gr.Interface(fn=predict_image, inputs=image, outputs=label, capture_session=True, article=doc.getvalue(), css=my_css, theme='huggingface', title=title, allow_flagging=False, description=description).launch(
|
|
|
112 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
113 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
114 |
|
115 |
+
gr.Interface(fn=predict_image, inputs=image, outputs=label, capture_session=True, article=doc.getvalue(), css=my_css, theme='huggingface', title=title, allow_flagging=False, description=description).launch(debug=True)
|