Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,4 +30,4 @@ def generate(input_txt):
|
|
30 |
|
31 |
generator = output
|
32 |
translator = gr.Interface.load("models/Helsinki-NLP/opus-mt-en-ml")
|
33 |
-
gr.Series(generator, translator, inputs=gr.inputs.Textbox(lines=
|
|
|
30 |
|
31 |
generator = output
|
32 |
translator = gr.Interface.load("models/Helsinki-NLP/opus-mt-en-ml")
|
33 |
+
gr.Series(generator, translator, inputs=gr.inputs.Textbox(lines=7, label="Input Text")).launch() # this demo generates text, then translates it to Malayalam, and outputs the final result.
|