Sshubam commited on
Commit
61f64c3
Β·
verified Β·
1 Parent(s): d1177d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -11
app.py CHANGED
@@ -157,20 +157,15 @@ with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
157
 
158
  gr.Examples(
159
  examples=[
160
- ["English", "Hello, how are you today? I hope you're doing well.", "Telugu"],
161
- ["English", "Hello, how are you today? I hope you're doing well.", "Punjabi"],
162
- ["English", "Hello, how are you today? I hope you're doing well.", "Hindi"],
163
- ["English", "Hello, how are you today? I hope you're doing well.", "Marathi"],
164
- ["English", "Hello, how are you today? I hope you're doing well.", "Malayalam"]
165
  ],
166
  inputs=[
167
  tgt_lang,
168
- text_input,
169
- gr.Number(value=4096, visible=False),
170
- gr.Number(value=0, visible=False),
171
- gr.Number(value=0.9, visible=False),
172
- gr.Number(value=50, visible=False),
173
- gr.Number(value=0.1, visible=False)
174
  ],
175
  outputs=text_output,
176
  fn=generate,
 
157
 
158
  gr.Examples(
159
  examples=[
160
+ ["Telugu", "Hello, how are you today? I hope you're doing well."],
161
+ ["Punjabi", "Hello, how are you today? I hope you're doing well."],
162
+ ["Hindi", "Hello, how are you today? I hope you're doing well."],
163
+ ["Marathi", "Hello, how are you today? I hope you're doing well."],
164
+ ["Malayalam", "Hello, how are you today? I hope you're doing well."]
165
  ],
166
  inputs=[
167
  tgt_lang,
168
+ text_input
 
 
 
 
 
169
  ],
170
  outputs=text_output,
171
  fn=generate,