k1ngtai commited on
Commit
61dde1a
·
verified ·
1 Parent(s): c7e1003

fix: error of Gradio new API

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ if __name__ == '__main__':
74
  gr.Textbox(lines=5, label="Input text")
75
  ]
76
 
77
- outputs = gr.outputs.JSON()
 
78
 
79
  title = "NLLB distilled 1.3B distilled【ပိၼ်ႇၽႃႇသႃႇ လၢႆၽႃႇသႃႇ】"
80
 
 
74
  gr.Textbox(lines=5, label="Input text")
75
  ]
76
 
77
+ #outputs = gr.outputs.JSON()
78
+ outputs = gr.JSON()
79
 
80
  title = "NLLB distilled 1.3B distilled【ပိၼ်ႇၽႃႇသႃႇ လၢႆၽႃႇသႃႇ】"
81