Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def respond(message, history, temperature, max_tokens):
|
|
| 95 |
"""
|
| 96 |
符合 gr.ChatInterface 标准的生成函数
|
| 97 |
message: dict (multimodal=True时) -> {'text': str, 'files': list} [cite: 140]
|
| 98 |
-
history: list of dicts -> OpenAI 风格历史记录
|
| 99 |
"""
|
| 100 |
handler = get_model_handler()
|
| 101 |
|
|
@@ -206,7 +206,6 @@ additional_inputs = [
|
|
| 206 |
]
|
| 207 |
|
| 208 |
chatbot_component = gr.Chatbot(
|
| 209 |
-
type="messages",
|
| 210 |
label="Robust-R1 Chat",
|
| 211 |
avatar_images=(None, "https://api.dicebear.com/7.x/bottts/svg?seed=Qwen"),
|
| 212 |
height=650
|
|
|
|
| 95 |
"""
|
| 96 |
符合 gr.ChatInterface 标准的生成函数
|
| 97 |
message: dict (multimodal=True时) -> {'text': str, 'files': list} [cite: 140]
|
| 98 |
+
history: list of dicts -> OpenAI 风格历史记录
|
| 99 |
"""
|
| 100 |
handler = get_model_handler()
|
| 101 |
|
|
|
|
| 206 |
]
|
| 207 |
|
| 208 |
chatbot_component = gr.Chatbot(
|
|
|
|
| 209 |
label="Robust-R1 Chat",
|
| 210 |
avatar_images=(None, "https://api.dicebear.com/7.x/bottts/svg?seed=Qwen"),
|
| 211 |
height=650
|