Herishop commited on
Commit
09eb8c9
·
verified ·
1 Parent(s): f7a4e72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -76,7 +76,9 @@ def gradio_interface():
76
 
77
  speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)
78
 
79
- text = gr.Textbox(label="Input Text", placeholder="Enter your text here")
 
 
80
  btn = gr.Button("Generate Speech")
81
 
82
  # Cột bên phải: Upload audio và Speech Output
 
76
 
77
  speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)
78
 
79
+ # Đặt Input Text vào hàng riêng biệt
80
+ with gr.Row(): # Tạo một hàng riêng biệt cho phần nhập Text
81
+ text = gr.Textbox(label="Input Text", placeholder="Enter your text here")
82
  btn = gr.Button("Generate Speech")
83
 
84
  # Cột bên phải: Upload audio và Speech Output