Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
eb893c3
1
Parent(s):
6c660fd
Playing with different models.
Browse files
app.py
CHANGED
@@ -15,6 +15,6 @@ def zero_shot_classification(data_string):
|
|
15 |
gradio_interface = gradio.Interface(
|
16 |
fn = zero_shot_classification,
|
17 |
inputs = gradio.Textbox(label="JSON Input"),
|
18 |
-
outputs =
|
19 |
)
|
20 |
gradio_interface.launch()
|
|
|
15 |
gradio_interface = gradio.Interface(
|
16 |
fn = zero_shot_classification,
|
17 |
inputs = gradio.Textbox(label="JSON Input"),
|
18 |
+
outputs = gradio.JSON()
|
19 |
)
|
20 |
gradio_interface.launch()
|