Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,7 +167,15 @@ with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
|
|
| 167 |
["English", "Hello, how are you today? I hope you're doing well.", "Marathi"],
|
| 168 |
["English", "Hello, how are you today? I hope you're doing well.", "Malayalam"]
|
| 169 |
],
|
| 170 |
-
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
outputs=text_output,
|
| 172 |
fn=generate,
|
| 173 |
cache_examples=True,
|
|
|
|
| 167 |
["English", "Hello, how are you today? I hope you're doing well.", "Marathi"],
|
| 168 |
["English", "Hello, how are you today? I hope you're doing well.", "Malayalam"]
|
| 169 |
],
|
| 170 |
+
inputs=[
|
| 171 |
+
tgt_lang,
|
| 172 |
+
text_input,
|
| 173 |
+
gr.Number(value=4096, visible=False),
|
| 174 |
+
gr.Number(value=0, visible=False),
|
| 175 |
+
gr.Number(value=0.9, visible=False),
|
| 176 |
+
gr.Number(value=50, visible=False),
|
| 177 |
+
gr.Number(value=0, visible=False)
|
| 178 |
+
],
|
| 179 |
outputs=text_output,
|
| 180 |
fn=generate,
|
| 181 |
cache_examples=True,
|