Spaces:
Running
Running
出蛰
commited on
Commit
·
f152358
1
Parent(s):
3d29480
fix: typos
Browse files
app.py
CHANGED
@@ -481,7 +481,7 @@ def validate_challenge(response, input, state):
|
|
481 |
else:
|
482 |
challenge_result = 'All Challenges Completed!'
|
483 |
else:
|
484 |
-
challenge_result = 'challenge failed
|
485 |
state['current_chapter_index'] = current_chapter_index
|
486 |
state['current_challenge_index'] = current_challenge_index
|
487 |
print('update state: ', state)
|
@@ -531,7 +531,7 @@ with block as demo:
|
|
531 |
current_chapter_index = 0
|
532 |
current_challenge_index = 0
|
533 |
gr.Markdown("""<center><font size=6>Darn! Ambushed by LLMs!</center>""")
|
534 |
-
gr.Markdown("""<font size=3>Welcome to the LLM Riddles Replica Edition
|
535 |
|
536 |
Through this game, you will gain a deeper understanding of large language models.
|
537 |
|
|
|
481 |
else:
|
482 |
challenge_result = 'All Challenges Completed!'
|
483 |
else:
|
484 |
+
challenge_result = 'challenge failed, please retry'
|
485 |
state['current_chapter_index'] = current_chapter_index
|
486 |
state['current_challenge_index'] = current_challenge_index
|
487 |
print('update state: ', state)
|
|
|
531 |
current_chapter_index = 0
|
532 |
current_challenge_index = 0
|
533 |
gr.Markdown("""<center><font size=6>Darn! Ambushed by LLMs!</center>""")
|
534 |
+
gr.Markdown("""<font size=3>Welcome to the LLM Riddles Replica Edition, [Thank Haoqiang Fan's idea](https://zhuanlan.zhihu.com/p/665393240): Darn! Ambushed by LLMs!
|
535 |
|
536 |
Through this game, you will gain a deeper understanding of large language models.
|
537 |
|