lingyit1108 commited on
Commit
8e50102
·
1 Parent(s): ad2a41c

edited back scenario

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ async def fetch_response(message, history, value):
29
  elif (aki.progression <= 80) and (message == "back"):
30
  try:
31
  q = await aki.back()
 
32
  q = f"{count}. " + q
33
  except akinator.CantGoBackAnyFurther:
34
  pass
 
29
  elif (aki.progression <= 80) and (message == "back"):
30
  try:
31
  q = await aki.back()
32
+ count -= 1
33
  q = f"{count}. " + q
34
  except akinator.CantGoBackAnyFurther:
35
  pass