Irpan commited on
Commit
b80e2d5
·
1 Parent(s): 5c46deb
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -27,20 +27,20 @@ with gr.Blocks() as app:
27
  generate_short_btn = gr.Button("Generate Short Text")
28
  generate_long_btn = gr.Button("Generate Long Text")
29
  # Translations
30
- with gr.Group():
31
- with gr.Row():
32
- translate_choice = gr.Dropdown(
33
- choices=util.translation_choices,
34
- label="(Optional) Select Translation Langauge and Translate",
35
- value="english",
36
- interactive=True
37
- )
38
- translate_btn = gr.Button("Translate")
39
- with gr.Row():
40
- translation_text = gr.Textbox(
41
- label=" Translated Uyghur Text",
42
- placeholder="Translated text will appear here...",
43
- )
44
  # TTS
45
  with gr.Group():
46
  with gr.Row():
 
27
  generate_short_btn = gr.Button("Generate Short Text")
28
  generate_long_btn = gr.Button("Generate Long Text")
29
  # Translations
30
+ # with gr.Group():
31
+ # with gr.Row():
32
+ # translate_choice = gr.Dropdown(
33
+ # choices=util.translation_choices,
34
+ # label="(Optional) Select Translation Langauge and Translate",
35
+ # value="english",
36
+ # interactive=True
37
+ # )
38
+ # translate_btn = gr.Button("Translate")
39
+ # with gr.Row():
40
+ # translation_text = gr.Textbox(
41
+ # label=" Translated Uyghur Text",
42
+ # placeholder="Translated text will appear here...",
43
+ # )
44
  # TTS
45
  with gr.Group():
46
  with gr.Row():