Sshubam commited on
Commit
e02e623
·
verified ·
1 Parent(s): 247daa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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=[tgt_lang, text_input, 4096, 0, 0.9, 50, 0],
 
 
 
 
 
 
 
 
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,