AFischer1985 commited on
Commit
6f9d054
·
1 Parent(s): 78c8391

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -36,7 +36,7 @@ def respond(state, chat_history, visible_elemIDs):
36
  else: # react to Text-Input
37
  internal_state=0
38
  bot_message = f"I was in state \"{previous_state}\" and am now in state \"{internal_state}\" and ready to process \"{state}\". please click another button."
39
- state=0
40
  chat_history.append((state, bot_message))
41
  if(len(visible_elemIDs)==0): # if visible_elemIDs has zero length, reset
42
  print("restore visibility to "+str(defaultElemIDs))
 
36
  else: # react to Text-Input
37
  internal_state=0
38
  bot_message = f"I was in state \"{previous_state}\" and am now in state \"{internal_state}\" and ready to process \"{state}\". please click another button."
39
+ state="0"
40
  chat_history.append((state, bot_message))
41
  if(len(visible_elemIDs)==0): # if visible_elemIDs has zero length, reset
42
  print("restore visibility to "+str(defaultElemIDs))