ffreemt commited on
Commit
d84f4e6
1 Parent(s): e715dd4

Update unicode symbols

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -34,8 +34,8 @@ logger.info(f"openai_api_key (env var/hf space SECRETS): {openai_api_key}")
34
  logger.info(f"openai_api_base: {openai_api_base}")
35
 
36
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
37
- with gr.Tab("Upload files"): # Tab1
38
- with gr.Accordion("Info", open=False):
39
  _ = """
40
  ### multilingual dokugpt/多语dokugpt
41
 
@@ -73,7 +73,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
73
 
74
  reset_btn = gr.Button("Reset everything", visible=True)
75
 
76
- with gr.Tab("Query docs"): # Tab1
77
  # interactive chat
78
  chatbot = gr.Chatbot()
79
  msg = gr.Textbox(label="Query")
@@ -99,7 +99,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
99
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
100
  msg_submitbtn.click(respond, [msg, chatbot], [msg, chatbot])
101
  clear.click(lambda: None, None, chatbot, queue=True)
102
-
103
 
104
  if __name__ == "__main__":
105
  demo.queue(concurrency_count=20).launch()
 
34
  logger.info(f"openai_api_base: {openai_api_base}")
35
 
36
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
37
+ with gr.Tab("🖹Upload files"): # Tab1
38
+ with gr.Accordion("Info", open=False):
39
  _ = """
40
  ### multilingual dokugpt/多语dokugpt
41
 
 
73
 
74
  reset_btn = gr.Button("Reset everything", visible=True)
75
 
76
+ with gr.Tab("🤖Query docs"): # Tab1
77
  # interactive chat
78
  chatbot = gr.Chatbot()
79
  msg = gr.Textbox(label="Query")
 
99
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
100
  msg_submitbtn.click(respond, [msg, chatbot], [msg, chatbot])
101
  clear.click(lambda: None, None, chatbot, queue=True)
102
+
103
 
104
  if __name__ == "__main__":
105
  demo.queue(concurrency_count=20).launch()