withai4all commited on
Commit
441c986
1 Parent(s): feff254

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -77,14 +77,14 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
77
  with gr.Column(scale=1):
78
  gr.HTML(title)
79
  with gr.Column(scale=4):
80
- gr.HTML('<center><a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>')
81
  with gr.Column(scale=4):
82
  status_display = gr.Markdown(get_geoip(), elem_id="status_display")
83
 
84
  with gr.Row().style(equal_height=True):
85
  with gr.Column(scale=5):
86
  with gr.Row():
87
- chatbot = gr.Chatbot(elem_id="chuanhu_chatbot").style(height="100%")
88
  with gr.Row():
89
  with gr.Column(scale=12):
90
  user_input = gr.Textbox(
@@ -410,11 +410,11 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
410
 
411
  logging.info(
412
  colorama.Back.GREEN
413
- + "\n川虎的温馨提示:访问 http://localhost:7860 查看界面"
414
  + colorama.Style.RESET_ALL
415
  )
416
  # 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
417
- demo.title = "川虎ChatGPT 🚀"
418
 
419
  if __name__ == "__main__":
420
  reload_javascript()
 
77
  with gr.Column(scale=1):
78
  gr.HTML(title)
79
  with gr.Column(scale=4):
80
+ # gr.HTML('<center><a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>')
81
  with gr.Column(scale=4):
82
  status_display = gr.Markdown(get_geoip(), elem_id="status_display")
83
 
84
  with gr.Row().style(equal_height=True):
85
  with gr.Column(scale=5):
86
  with gr.Row():
87
+ chatbot = gr.Chatbot(elem_id="hu_chatbot").style(height="100%")
88
  with gr.Row():
89
  with gr.Column(scale=12):
90
  user_input = gr.Textbox(
 
410
 
411
  logging.info(
412
  colorama.Back.GREEN
413
+ + "\n温馨提示:查看界面"
414
  + colorama.Style.RESET_ALL
415
  )
416
  # 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
417
+ demo.title = "Chat 🚀"
418
 
419
  if __name__ == "__main__":
420
  reload_javascript()