ChenyuRabbitLove commited on
Commit
b294f44
1 Parent(s): 31d21e7

feat: rename ntu img to ruby

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -209,7 +209,7 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
209
  with gr.Row():
210
  player_name = gr.Textbox(
211
  label="玩家暱稱",
212
- info="請輸入想要用在完賽獎勵上的玩家暱稱,上限為 10 字,獎勵發送後無法更改也無法補發,還請同學們謹慎填寫。",
213
  interactive=True,
214
  elem_id="player_name",
215
  visible=False,
@@ -533,15 +533,15 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
533
  None,
534
  [bot1, bot2, bot3, bot4, bot5, weaving],
535
  queue=False,
536
- ).then(
537
  **get_first_llm_response_args
538
- ).then(
539
  **get_second_llm_response_args
540
- ).then(
541
  **get_third_llm_response_args
542
- ).then(
543
  **get_fourth_llm_response_args
544
- ).then(
545
  **get_fifth_llm_response_args
546
  ).then(
547
  lambda: gr.update(visible=True), None, [select_story], queue=False
 
209
  with gr.Row():
210
  player_name = gr.Textbox(
211
  label="玩家暱稱",
212
+ info="請輸入想要用在完賽獎勵上的玩家暱稱,上限為 10 字,且像是 🤩🌟🎉😊 等 emoji 也會無法顯示唷;最後,獎勵發送後無法更改也無法補發,還請同學們謹慎填寫。",
213
  interactive=True,
214
  elem_id="player_name",
215
  visible=False,
 
533
  None,
534
  [bot1, bot2, bot3, bot4, bot5, weaving],
535
  queue=False,
536
+ ).then(lambda: [(None, "露米娜正埋頭撰寫故事中...請耐心等候")], None, bot1, queue=False).then(
537
  **get_first_llm_response_args
538
+ ).then(lambda: [(None, "索拉拉正埋頭撰寫故事中...請耐心等候")], None, bot2, queue=False).then(
539
  **get_second_llm_response_args
540
+ ).then(lambda: [(None, "薇丹特正埋頭撰寫故事中...請耐心等候")], None, bot3, queue=False).then(
541
  **get_third_llm_response_args
542
+ ).then(lambda: [(None, "蔚藍正埋頭撰寫故事中...請耐心等候")], None, bot4, queue=False).then(
543
  **get_fourth_llm_response_args
544
+ ).then(lambda: [(None, "紅寶石正埋頭撰寫故事中...請耐心等候")], None, bot5, queue=False).then(
545
  **get_fifth_llm_response_args
546
  ).then(
547
  lambda: gr.update(visible=True), None, [select_story], queue=False