yoon-gu commited on
Commit
0195f76
β€’
1 Parent(s): e78b69f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks() as demo:
102
  answer.value = a
103
  info[user]['score'] += 1
104
  info[user]['count'] += 1
105
- bot_message = f"πŸŽ‰μ •λ‹΅μž…λ‹ˆλ‹€! λ‹€μŒ λ¬Έμ œμž…λ‹ˆλ‹€.\n{q}"
106
  if quiz_count == info[user]['count']:
107
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
108
  info[user]['done'] = True
@@ -120,6 +120,8 @@ with gr.Blocks() as demo:
120
  hint1 += y
121
  else:
122
  hint1 += "X"
 
 
123
  bot_message = f"***{message}***!? 🧐 λ‹€μ‹œ ν•œλ²ˆ μƒκ°ν•΄λ³΄μ„Έμš”.\n힌트: {hint1}"
124
  info[user]['score'] -= 0.1
125
 
 
102
  answer.value = a
103
  info[user]['score'] += 1
104
  info[user]['count'] += 1
105
+ bot_message = f"πŸŽ‰μ •λ‹΅μž…λ‹ˆλ‹€! λ‹€μŒ λ¬Έμ œμž…λ‹ˆλ‹€.\n{q}\n ν˜„μž¬ 점수: {info[user]['score']}"
106
  if quiz_count == info[user]['count']:
107
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
108
  info[user]['done'] = True
 
120
  hint1 += y
121
  else:
122
  hint1 += "X"
123
+ else:
124
+ hint1 += "X"
125
  bot_message = f"***{message}***!? 🧐 λ‹€μ‹œ ν•œλ²ˆ μƒκ°ν•΄λ³΄μ„Έμš”.\n힌트: {hint1}"
126
  info[user]['score'] -= 0.1
127