Lord-Raven commited on
Commit
eb893c3
·
1 Parent(s): 6c660fd

Playing with different models.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "json"
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()