Yoon-gu Hwang commited on
Commit
d68e6a5
1 Parent(s): 5f8ce22

score 10점!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks() as demo:
138
  if infos[user].answer == message:
139
  q, a = get_question_answer(pokemons_set, user)
140
  infos[user].answer = a
141
- infos[user].score += 1
142
  infos[user].count += 1
143
  bot_message = f"🎉정답입니다! 다음 문제입니다.\n{q}\n- 현재 점수: {infos[user].score:3.1f}점\n- 소요 시간: {time.time() - infos[user].time:4.3f}초"
144
 
 
138
  if infos[user].answer == message:
139
  q, a = get_question_answer(pokemons_set, user)
140
  infos[user].answer = a
141
+ infos[user].score += 10
142
  infos[user].count += 1
143
  bot_message = f"🎉정답입니다! 다음 문제입니다.\n{q}\n- 현재 점수: {infos[user].score:3.1f}점\n- 소요 시간: {time.time() - infos[user].time:4.3f}초"
144