Spaces:
Runtime error
Runtime error
Ohnesorge
commited on
Commit
·
b2e78ff
1
Parent(s):
2387f46
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,9 @@ def predict(image):
|
|
36 |
|
37 |
# run the inference
|
38 |
prediction = model.predict(data)
|
|
|
39 |
return prediction
|
40 |
|
41 |
|
42 |
-
iface = gr.Interface(fn=predict, inputs="image"
|
43 |
iface.launch()
|
|
|
36 |
|
37 |
# run the inference
|
38 |
prediction = model.predict(data)
|
39 |
+
gr.print(prediction)
|
40 |
return prediction
|
41 |
|
42 |
|
43 |
+
iface = gr.Interface(fn=predict, inputs="image")
|
44 |
iface.launch()
|