NCTCMumbai commited on
Commit
9d310da
1 Parent(s): 60c97ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -151,8 +151,8 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
151
 
152
  api_kind = gr.Radio(choices=["HuggingFace","Gemini"], value="HuggingFace")
153
 
154
- prompt_html = gr.HTML()
155
- #prompt_html = gr.Textbox(label='Retrieved Documents')
156
  try:
157
  # Turn off interactivity while generating if you click
158
  txt_msg = txt_btn.click(add_text, [chatbot, txt], [chatbot, txt], queue=False).then(
 
151
 
152
  api_kind = gr.Radio(choices=["HuggingFace","Gemini"], value="HuggingFace")
153
 
154
+ #prompt_html = gr.HTML()
155
+ prompt_html = gr.Textbox(label='Retrieved Documents')
156
  try:
157
  # Turn off interactivity while generating if you click
158
  txt_msg = txt_btn.click(add_text, [chatbot, txt], [chatbot, txt], queue=False).then(