pizb commited on
Commit
b94cf26
Β·
verified Β·
1 Parent(s): 91fb83a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -118,7 +118,7 @@ def main():
118
  return { round: 0, player_restriction: {}, player_capability: {}, previous_conversation: "", previous_round_result: "" }
119
  restart_button.click(fn=click_restart_button, outputs=[round, player_restriction, player_capability, previous_conversation, previous_round_result])
120
 
121
- elif _round >= len(_stories):
122
  gr.Markdown("## μΆ•ν•˜ν•©λ‹ˆλ‹€! κ²Œμž„ 클리어에 μ„±κ³΅ν•˜μ…¨μŠ΅λ‹ˆλ‹€")
123
  good_ending = create_good_ending(_world_summary, player_profile_str, _player_restriction, _player_capability, entire_story, _previous_conversation)
124
  display_good_ending = gr.Markdown(good_ending)
 
118
  return { round: 0, player_restriction: {}, player_capability: {}, previous_conversation: "", previous_round_result: "" }
119
  restart_button.click(fn=click_restart_button, outputs=[round, player_restriction, player_capability, previous_conversation, previous_round_result])
120
 
121
+ elif _round > len(_stories):
122
  gr.Markdown("## μΆ•ν•˜ν•©λ‹ˆλ‹€! κ²Œμž„ 클리어에 μ„±κ³΅ν•˜μ…¨μŠ΅λ‹ˆλ‹€")
123
  good_ending = create_good_ending(_world_summary, player_profile_str, _player_restriction, _player_capability, entire_story, _previous_conversation)
124
  display_good_ending = gr.Markdown(good_ending)