Yoon-gu Hwang commited on
Commit
7f078c2
1 Parent(s): 920014e

avatar 설정

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -73,7 +73,9 @@ with gr.Blocks() as demo:
73
  with gr.Row():
74
  play = gr.Button(value="퀴즈 시작", label="퀴즈 시작")
75
  stop = gr.Button(value="퀴즈 종료", label="퀴즈 종료")
76
- chatbot = gr.Chatbot(bubble_full_width=False)
 
 
77
  msg = gr.Textbox(placeholder="문제의 답을 입력하세요.", label="답")
78
 
79
  def respond(message, chat_history, user, quiz_count, gen, types, request: gr.Request):
 
73
  with gr.Row():
74
  play = gr.Button(value="퀴즈 시작", label="퀴즈 시작")
75
  stop = gr.Button(value="퀴즈 종료", label="퀴즈 종료")
76
+ chatbot = gr.Chatbot(bubble_full_width=False,
77
+ avatar_images=["https://huggingface.co/spaces/yoon-gu/pokemon/resolve/main/images/No_0001_이상해씨.png",
78
+ "https://huggingface.co/spaces/yoon-gu/pokemon/resolve/main/images/No_0155_브케인.png"])
79
  msg = gr.Textbox(placeholder="문제의 답을 입력하세요.", label="답")
80
 
81
  def respond(message, chat_history, user, quiz_count, gen, types, request: gr.Request):