yoon-gu commited on
Commit
e2ea6c4
β€’
1 Parent(s): 0b56a07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -136,7 +136,9 @@ with gr.Blocks() as demo:
136
  hint1 += "X"
137
  bot_message = f"***{message}***!? 🧐 λ‹€μ‹œ ν•œλ²ˆ μƒκ°ν•΄λ³΄μ„Έμš”.\n힌트: {hint1}"
138
  info[user]['score'] -= 0.1
139
-
 
 
140
  if quiz_count == info[user]['count']:
141
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
142
  info[user]['done'] = True
 
136
  hint1 += "X"
137
  bot_message = f"***{message}***!? 🧐 λ‹€μ‹œ ν•œλ²ˆ μƒκ°ν•΄λ³΄μ„Έμš”.\n힌트: {hint1}"
138
  info[user]['score'] -= 0.1
139
+
140
+ bot_message += f"\nν˜„μž¬ 총 {quiz_count}개 쀑 {info[user]['count']}번째 진행 μ€‘μž…λ‹ˆλ‹€."
141
+
142
  if quiz_count == info[user]['count']:
143
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
144
  info[user]['done'] = True