kodetr commited on
Commit
5286e36
·
verified ·
1 Parent(s): 5f58d91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -162,7 +162,7 @@ def demo():
162
  with gr.Row():
163
  slider_topk = gr.Slider(minimum = 1, maximum = 10, value=3, step=1, label="top-k", info="Jumlah token untuk memilih token berikutnya", interactive=True)
164
  with gr.Row():
165
- qachain_btn = gr.Button("Inisialisasi Chatbot Penjawab Pertanyaan")
166
  with gr.Row():
167
  llm_progress = gr.Textbox(value="Not initialized", show_label=False) # label="Chatbot status",
168
 
@@ -180,7 +180,7 @@ def demo():
180
  doc_source3 = gr.Textbox(label="Reference 3", lines=2, container=True, scale=20)
181
  source3_page = gr.Number(label="Page", scale=1)
182
  with gr.Row():
183
- msg = gr.Textbox(placeholder="Ask a question", container=True)
184
  with gr.Row():
185
  submit_btn = gr.Button("Submit")
186
  clear_btn = gr.ClearButton([msg, chatbot], value="Clear")
 
162
  with gr.Row():
163
  slider_topk = gr.Slider(minimum = 1, maximum = 10, value=3, step=1, label="top-k", info="Jumlah token untuk memilih token berikutnya", interactive=True)
164
  with gr.Row():
165
+ qachain_btn = gr.Button("Inisialisasi Chatbot")
166
  with gr.Row():
167
  llm_progress = gr.Textbox(value="Not initialized", show_label=False) # label="Chatbot status",
168
 
 
180
  doc_source3 = gr.Textbox(label="Reference 3", lines=2, container=True, scale=20)
181
  source3_page = gr.Number(label="Page", scale=1)
182
  with gr.Row():
183
+ msg = gr.Textbox(placeholder="Ajukan pertanyaan", container=True)
184
  with gr.Row():
185
  submit_btn = gr.Button("Submit")
186
  clear_btn = gr.ClearButton([msg, chatbot], value="Clear")