pizb commited on
Commit
91fb83a
·
verified ·
1 Parent(s): 97f15a5

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. demo.py +2 -8
demo.py CHANGED
@@ -149,13 +149,6 @@ def main():
149
 
150
  def click_submit_btn(_player_response, _previous_conversation, _player_restriction, _player_capability):
151
  gr.Info("결정을 반영중입니다...")
152
-
153
- # __round = input["_round"]
154
- # _round_description = input["round_description"]
155
- # _player_response = input["player_response"]
156
- # _previous_conversation = input["previous_conversation"]
157
- # _player_restriction = input["player_restriction"]
158
- # _player_capability = input["player_capability"]
159
  __round = _round
160
  _round_description = round_description
161
 
@@ -196,7 +189,8 @@ def main():
196
  outputs=[round, previous_conversation, previous_round_result, player_restriction, player_capability]
197
  )
198
 
199
- player_status_display = gr.Markdown(f"## {re.sub(r'\"', '', _player_profile['name'])}님의 상태")
 
200
  with gr.Group():
201
  with gr.Row():
202
  gr.Textbox(_player_restriction['life'], interactive=False, label="목숨")
 
149
 
150
  def click_submit_btn(_player_response, _previous_conversation, _player_restriction, _player_capability):
151
  gr.Info("결정을 반영중입니다...")
 
 
 
 
 
 
 
152
  __round = _round
153
  _round_description = round_description
154
 
 
189
  outputs=[round, previous_conversation, previous_round_result, player_restriction, player_capability]
190
  )
191
 
192
+ player_name = re.sub(r'"', '', _player_profile['name'])
193
+ player_status_display = gr.Markdown(f"## {player_name}님의 상태")
194
  with gr.Group():
195
  with gr.Row():
196
  gr.Textbox(_player_restriction['life'], interactive=False, label="목숨")