Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,11 +18,11 @@ def respond(message, chat_history):
|
|
| 18 |
chat_history.append((message, answer))
|
| 19 |
return "", chat_history
|
| 20 |
|
| 21 |
-
title = "
|
| 22 |
|
| 23 |
if llm.assistant.description is None:
|
| 24 |
model = llm.assistant.model
|
| 25 |
-
description = f"このデモは
|
| 26 |
else:
|
| 27 |
description = llm.assistant.description
|
| 28 |
|
|
|
|
| 18 |
chat_history.append((message, answer))
|
| 19 |
return "", chat_history
|
| 20 |
|
| 21 |
+
title = "OpenAI Assistant API: " + llm.assistant.name
|
| 22 |
|
| 23 |
if llm.assistant.description is None:
|
| 24 |
model = llm.assistant.model
|
| 25 |
+
description = f"このデモはOpenAI Assistant APIのデモです。テキストボックスにテキストを入力すると、{model}モデルが応答します。"
|
| 26 |
else:
|
| 27 |
description = llm.assistant.description
|
| 28 |
|