Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ label=gr.Label(num_top_classes=3)
|
|
33 |
# Create the Gradio interface
|
34 |
iface = gr.Interface(
|
35 |
fn=predict,
|
36 |
-
inputs=text # Use the correct class with type="json"
|
37 |
outputs=label,
|
38 |
live=True,
|
39 |
examples=[
|
|
|
33 |
# Create the Gradio interface
|
34 |
iface = gr.Interface(
|
35 |
fn=predict,
|
36 |
+
inputs=text , # Use the correct class with type="json"
|
37 |
outputs=label,
|
38 |
live=True,
|
39 |
examples=[
|