muhammadsalmanalfaridzi commited on
Commit
2ab080a
·
verified ·
1 Parent(s): 74128fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -147,16 +147,16 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue="teal", secondary_hue="teal", ne
147
 
148
  chatbot = gr.Chatbot()
149
 
150
- with gr.Row():
151
- msg = gr.Textbox(label="Enter your question")
152
- audio_input = gr.Audio(type="filepath", label="Upload Audio")
153
- translate_checkbox = gr.Checkbox(label="Translate Audio to English Text", value=False)
154
-
155
  with gr.Row():
156
  file_input = gr.File(label="Select files to load", file_count="multiple")
157
  load_btn = gr.Button("Load Documents")
158
  load_output = gr.Textbox(label="Load Status")
159
-
 
 
 
 
 
160
  clear = gr.Button("Clear")
161
 
162
  # Set up event handlers
 
147
 
148
  chatbot = gr.Chatbot()
149
 
 
 
 
 
 
150
  with gr.Row():
151
  file_input = gr.File(label="Select files to load", file_count="multiple")
152
  load_btn = gr.Button("Load Documents")
153
  load_output = gr.Textbox(label="Load Status")
154
+
155
+ with gr.Row():
156
+ msg = gr.Textbox(label="Enter your question")
157
+ audio_input = gr.Audio(type="filepath", label="Upload Audio")
158
+ translate_checkbox = gr.Checkbox(label="Translate Audio to English Text", value=False)
159
+
160
  clear = gr.Button("Clear")
161
 
162
  # Set up event handlers