Arafath10 commited on
Commit
f2ade1c
·
1 Parent(s): f2af7e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -38,13 +38,15 @@ with gr.Blocks(theme=gr.themes.Soft(),css="footer {visibility: hidden}") as demo
38
  with gr.Column(scale=6):
39
 
40
  chatbot = gr.Chatbot([[None,"Hi there, what brings you here today?"]],height=460,show_label=False,show_copy_button=True,show_share_button=True,likeable=True,layout="bubble")
41
- with gr.Tab("text input"):
42
- msg = gr.Textbox(show_label=False,placeholder="type anything")
43
  with gr.Tab("voice input"):
44
  audio_input = gr.Microphone(label="Press start record to speak", type="filepath")
45
 
46
- with gr.Tab("Setting"):
47
- audio_input = gr.Microphone(label="Press start recording to speak", type="filepath")
 
 
48
 
49
 
50
  def submit(t):
 
38
  with gr.Column(scale=6):
39
 
40
  chatbot = gr.Chatbot([[None,"Hi there, what brings you here today?"]],height=460,show_label=False,show_copy_button=True,show_share_button=True,likeable=True,layout="bubble")
41
+ with gr.Tab("text input (after typing press enter)"):
42
+ msg = gr.Textbox(show_label=False,placeholder="type anything and press enter")
43
  with gr.Tab("voice input"):
44
  audio_input = gr.Microphone(label="Press start record to speak", type="filepath")
45
 
46
+ with gr.Tab("Setup your own voice"):
47
+ audio_input = gr.Microphone(label="Press start record to speak and add your voice", type="filepath")
48
+ with gr.Tab("Select the language"):
49
+ dropdown = gr.Dropdown(label="select language",choices=["english"])
50
 
51
 
52
  def submit(t):