Yoon-gu Hwang commited on
Commit
cad521e
·
1 Parent(s): 0128af1

수컷 암컷 표시 그대로

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ QUESTION_TEMPLATE = {"question": "다음 포켓몬의 이름은 뭘까요?![]({i
32
 
33
  def get_question_answer(pokemons_set, user):
34
  chosen = random.choice(pokemons_set)
35
- name = chosen['name'].replace("♀", "암컷").replace("♂", "수컷")
36
  image_path = chosen['image_path']
37
  img_url = f"https://huggingface.co/spaces/yoon-gu/pokemon/resolve/main/{image_path}"
38
  q = QUESTION_TEMPLATE["question"].format(img_url=img_url)
 
32
 
33
  def get_question_answer(pokemons_set, user):
34
  chosen = random.choice(pokemons_set)
35
+ name = chosen['name']
36
  image_path = chosen['image_path']
37
  img_url = f"https://huggingface.co/spaces/yoon-gu/pokemon/resolve/main/{image_path}"
38
  q = QUESTION_TEMPLATE["question"].format(img_url=img_url)