Spaces:
Build error
Build error
fixed flagging parameter
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def predict_image(array):
|
|
| 74 |
|
| 75 |
|
| 76 |
# Create the image classifier
|
| 77 |
-
image_classifier = gr.Interface(fn=predict_image, inputs="image", outputs="text", allow_flagging='
|
| 78 |
|
| 79 |
# Launch the image classifier
|
| 80 |
image_classifier.launch(share=True)
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
# Create the image classifier
|
| 77 |
+
image_classifier = gr.Interface(fn=predict_image, inputs="image", outputs="text", allow_flagging='never')
|
| 78 |
|
| 79 |
# Launch the image classifier
|
| 80 |
image_classifier.launch(share=True)
|