Spaces:
Sleeping
Sleeping
lmt commited on
Commit ·
7962c24
1
Parent(s): 4453718
微调样式
Browse files- app.py +1 -1
- presets.py +1 -1
app.py
CHANGED
|
@@ -18,7 +18,7 @@ with gr.Blocks(css=customCSS) as server:
|
|
| 18 |
with gr.Column(scale=1):
|
| 19 |
use_streaming_checkbox = gr.Checkbox(
|
| 20 |
label="实时传输回答", value=True, visible=enable_streaming_option)
|
| 21 |
-
chatbot = gr.Chatbot(elem_id="chat")
|
| 22 |
chatbot.style(color_map=("#1D51EE", "#ffffff"))
|
| 23 |
history = gr.State([])
|
| 24 |
token_count = gr.State([])
|
|
|
|
| 18 |
with gr.Column(scale=1):
|
| 19 |
use_streaming_checkbox = gr.Checkbox(
|
| 20 |
label="实时传输回答", value=True, visible=enable_streaming_option)
|
| 21 |
+
chatbot = gr.Chatbot(elem_id="chat", label="ChatGPT")
|
| 22 |
chatbot.style(color_map=("#1D51EE", "#ffffff"))
|
| 23 |
history = gr.State([])
|
| 24 |
token_count = gr.State([])
|
presets.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# -*- coding:utf-8 -*-
|
| 2 |
-
title = """<
|
| 3 |
description = """<div align=center>
|
| 4 |
|
| 5 |
Powered by `gpt-3.5-turbo` Model
|
|
|
|
| 1 |
# -*- coding:utf-8 -*-
|
| 2 |
+
title = """<h2 align="center">MyChatGPT</h2>"""
|
| 3 |
description = """<div align=center>
|
| 4 |
|
| 5 |
Powered by `gpt-3.5-turbo` Model
|