Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,12 +22,8 @@ iface = gr.Interface(
|
|
22 |
fn=classify_image,
|
23 |
inputs="image",
|
24 |
outputs="text",
|
25 |
-
live=True
|
26 |
-
interpretation="default"
|
27 |
)
|
28 |
|
29 |
# Launch the Gradio Interface
|
30 |
-
iface.launch()
|
31 |
-
|
32 |
-
|
33 |
-
#gr.load("models/Falconsai/nsfw_image_detection").launch()
|
|
|
22 |
fn=classify_image,
|
23 |
inputs="image",
|
24 |
outputs="text",
|
25 |
+
live=True # Remove the 'interpretation' argument
|
|
|
26 |
)
|
27 |
|
28 |
# Launch the Gradio Interface
|
29 |
+
iface.launch()
|
|
|
|
|
|