Spaces:
Running
Running
Removed description from Model Output in Gradio app
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def predict(text):
|
|
19 |
gradio_app = gr.Interface(
|
20 |
predict,
|
21 |
inputs=gr.Text(placeholder="Enter a sentence to translate...", label="Input text"),
|
22 |
-
outputs=[gr.Json(
|
23 |
title="En2Ru Scientific Translator",
|
24 |
description="Translate scientific texts from English to Russian",
|
25 |
examples=[
|
|
|
19 |
gradio_app = gr.Interface(
|
20 |
predict,
|
21 |
inputs=gr.Text(placeholder="Enter a sentence to translate...", label="Input text"),
|
22 |
+
outputs=[gr.Json(label="Model output")],
|
23 |
title="En2Ru Scientific Translator",
|
24 |
description="Translate scientific texts from English to Russian",
|
25 |
examples=[
|