Spaces:
Sleeping
Sleeping
Yoon-gu Hwang
commited on
Commit
Β·
d928b01
1
Parent(s):
6d1bed2
bug fix
Browse files
app.py
CHANGED
@@ -96,6 +96,7 @@ with gr.Blocks() as demo:
|
|
96 |
bot_message = f"πμ λ΅μ
λλ€! λ€μ λ¬Έμ μ
λλ€.\n{q}"
|
97 |
if quiz_count == info[user]['count']:
|
98 |
bot_message = f"λͺ¨λ ν΄μ¦λ₯Ό λ€ νμμ΅λλ€. μ μλ {info[user]['score']:3.1f}μ μ
λλ€."
|
|
|
99 |
elif "ν΄μ¦μ’
λ£" == message.replace(" ", ""):
|
100 |
bot_message = f"ν΄μ¦λ₯Ό κ°μ μ’
λ£ν©λλ€."
|
101 |
info[user]['done'] = True
|
|
|
96 |
bot_message = f"πμ λ΅μ
λλ€! λ€μ λ¬Έμ μ
λλ€.\n{q}"
|
97 |
if quiz_count == info[user]['count']:
|
98 |
bot_message = f"λͺ¨λ ν΄μ¦λ₯Ό λ€ νμμ΅λλ€. μ μλ {info[user]['score']:3.1f}μ μ
λλ€."
|
99 |
+
info[user]['done'] = True
|
100 |
elif "ν΄μ¦μ’
λ£" == message.replace(" ", ""):
|
101 |
bot_message = f"ν΄μ¦λ₯Ό κ°μ μ’
λ£ν©λλ€."
|
102 |
info[user]['done'] = True
|