MihaiHuggingFace
commited on
Commit
•
96b9fd2
1
Parent(s):
20937f4
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as app:
|
|
86 |
input_text = gr.components.Textbox(label="Input Text", value="Toad (Pit Crew) is a fun character you can try in Mario Kart Tour! Wow!")
|
87 |
source_lang = gr.components.Dropdown(label="Source Language", value="English", choices=list(LANG_CODES.keys()))
|
88 |
target_lang = gr.components.Dropdown(label="Target Language", value="Toki Pona", choices=list(LANG_CODES.keys()))
|
89 |
-
return_seqs = gr.Slider(label="Number of return sequences", value=3, minimum=1, maximum=
|
90 |
|
91 |
inputs=[input_text, source_lang, target_lang, return_seqs]
|
92 |
outputs = gr.Textbox()
|
|
|
86 |
input_text = gr.components.Textbox(label="Input Text", value="Toad (Pit Crew) is a fun character you can try in Mario Kart Tour! Wow!")
|
87 |
source_lang = gr.components.Dropdown(label="Source Language", value="English", choices=list(LANG_CODES.keys()))
|
88 |
target_lang = gr.components.Dropdown(label="Target Language", value="Toki Pona", choices=list(LANG_CODES.keys()))
|
89 |
+
return_seqs = gr.Slider(label="Number of return sequences", value=3, minimum=1, maximum=256, step=1)
|
90 |
|
91 |
inputs=[input_text, source_lang, target_lang, return_seqs]
|
92 |
outputs = gr.Textbox()
|