Spaces:
Runtime error
Runtime error
dearfattiger
commited on
Commit
•
a25af24
1
Parent(s):
35d2ce5
Update app.py
Browse filesremove chuanhu
app.py
CHANGED
@@ -77,7 +77,8 @@ 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 |
|
@@ -410,7 +411,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
410 |
|
411 |
logging.info(
|
412 |
colorama.Back.GREEN
|
413 |
-
+ "\n
|
414 |
+ colorama.Style.RESET_ALL
|
415 |
)
|
416 |
# 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
|
|
|
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 |
+
pass
|
82 |
with gr.Column(scale=4):
|
83 |
status_display = gr.Markdown(get_geoip(), elem_id="status_display")
|
84 |
|
|
|
411 |
|
412 |
logging.info(
|
413 |
colorama.Back.GREEN
|
414 |
+
+ "\n温馨提示:访问 http://localhost:7860 查看界面"
|
415 |
+ colorama.Style.RESET_ALL
|
416 |
)
|
417 |
# 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
|