Spaces:
Sleeping
Sleeping
fix: error of Gradio new API
Browse files
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 |
|