yoon-gu commited on
Commit
9c8b9fe
β€’
1 Parent(s): d5ca01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ with gr.Blocks() as demo:
108
  answer.value = a
109
  info[user]['score'] += 1
110
  info[user]['count'] += 1
111
- bot_message = f"πŸŽ‰μ •λ‹΅μž…λ‹ˆλ‹€! λ‹€μŒ λ¬Έμ œμž…λ‹ˆλ‹€.\n{q}\n ν˜„μž¬ 점수: {info[user]['score']}"
112
  if quiz_count == info[user]['count']:
113
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
114
  info[user]['done'] = True
 
108
  answer.value = a
109
  info[user]['score'] += 1
110
  info[user]['count'] += 1
111
+ bot_message = f"πŸŽ‰μ •λ‹΅μž…λ‹ˆλ‹€! λ‹€μŒ λ¬Έμ œμž…λ‹ˆλ‹€.\n{q}\n- ν˜„μž¬ 점수: {info[user]['score']}점\n- μ†Œμš” μ‹œκ°„: {time.time() - info[user]['time']:4.3f}초"
112
  if quiz_count == info[user]['count']:
113
  bot_message = f"λͺ¨λ“  ν€΄μ¦ˆλ₯Ό λ‹€ ν’€μ—ˆμŠ΅λ‹ˆλ‹€. μ μˆ˜λŠ” {info[user]['score']:3.1f}점 μž…λ‹ˆλ‹€."
114
  info[user]['done'] = True