Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def image_classifier(
|
4 |
return {'normal': 0.3, 'bullying': 0.7}
|
5 |
|
6 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def image_classifier(input):
|
4 |
return {'normal': 0.3, 'bullying': 0.7}
|
5 |
|
6 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|