Spaces:
Running
Running
Commit
·
16a6025
1
Parent(s):
90eb215
feat: rename ntu img to ruby
Browse files- app.py +1 -1
- utils/completion_reward.py +2 -2
app.py
CHANGED
@@ -320,7 +320,7 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
|
|
320 |
|
321 |
with gr.Row():
|
322 |
select_story = gr.Radio(
|
323 |
-
["露米娜", "索拉拉", "薇丹特", "蔚藍"],
|
324 |
interactive=True,
|
325 |
label="選擇故事",
|
326 |
visible=False,
|
|
|
320 |
|
321 |
with gr.Row():
|
322 |
select_story = gr.Radio(
|
323 |
+
["露米娜", "索拉拉", "薇丹特", "蔚藍", "紅寶石"],
|
324 |
interactive=True,
|
325 |
label="選擇故事",
|
326 |
visible=False,
|
utils/completion_reward.py
CHANGED
@@ -492,8 +492,8 @@ class NTUAgent:
|
|
492 |
|
493 |
url = 'http://api.twllm.com:20002/v1/chat/completions'
|
494 |
message = f"{system_prompt}, 以下是我的冒險故事 ```{user_log}```"
|
495 |
-
logging.
|
496 |
-
logging.
|
497 |
data = {
|
498 |
"model": "yentinglin/Taiwan-LLM-13B-v2.0-chat",
|
499 |
"messages": f"{system_prompt}, 以下是我的冒險故事 ```{user_log}```",
|
|
|
492 |
|
493 |
url = 'http://api.twllm.com:20002/v1/chat/completions'
|
494 |
message = f"{system_prompt}, 以下是我的冒險故事 ```{user_log}```"
|
495 |
+
logging.warning(f"NTU Generating response...")
|
496 |
+
logging.warning(f"NTU message: {message}")
|
497 |
data = {
|
498 |
"model": "yentinglin/Taiwan-LLM-13B-v2.0-chat",
|
499 |
"messages": f"{system_prompt}, 以下是我的冒險故事 ```{user_log}```",
|