NCTCMumbai commited on
Commit
4d15bba
1 Parent(s): 8f4bdb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -139,8 +139,7 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
139
  show_copy_button=True,
140
  show_share_button=True,
141
  )
142
- chattext = gr.Textbox()
143
-
144
  with gr.Row():
145
  txt = gr.Textbox(
146
  scale=3,
@@ -152,8 +151,8 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
152
 
153
  api_kind = gr.Radio(choices=["HuggingFace","Gemini"], value="HuggingFace")
154
 
155
- prompt_html = gr.HTML()
156
- # prompt_html = gr.Textbox()
157
  try:
158
  # Turn off interactivity while generating if you click
159
  txt_msg = txt_btn.click(add_text, [chatbot, txt], [chatbot, txt], queue=False).then(
 
139
  show_copy_button=True,
140
  show_share_button=True,
141
  )
142
+
 
143
  with gr.Row():
144
  txt = gr.Textbox(
145
  scale=3,
 
151
 
152
  api_kind = gr.Radio(choices=["HuggingFace","Gemini"], value="HuggingFace")
153
 
154
+ #prompt_html = gr.HTML()
155
+ prompt_html = gr.Textbox()
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(