Jonas Wiesli commited on
Commit
f8cd34e
1 Parent(s): 2fa8fbf
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -117,12 +117,14 @@ with gr.Blocks() as iface:
117
  return "--- YOU'VE RUN OUT OF QUESTIONS, MAKE YOUR CHOICE ---"
118
 
119
  def updateQuestions(questionCounterText):
 
120
  remainingQuestions = int(questionCounterText["value"])
121
  if remainingQuestions > 0:
122
  remainingQuestions -= 1
123
  return str(remainingQuestions)
124
 
125
  def checkIfQuestionsLeft(questionCounterText):
 
126
  remainingQuestions = int(questionCounterText["value"])
127
  return remainingQuestions > 0
128
 
 
117
  return "--- YOU'VE RUN OUT OF QUESTIONS, MAKE YOUR CHOICE ---"
118
 
119
  def updateQuestions(questionCounterText):
120
+ print(questionCounterText)
121
  remainingQuestions = int(questionCounterText["value"])
122
  if remainingQuestions > 0:
123
  remainingQuestions -= 1
124
  return str(remainingQuestions)
125
 
126
  def checkIfQuestionsLeft(questionCounterText):
127
+ print(questionCounterText)
128
  remainingQuestions = int(questionCounterText["value"])
129
  return remainingQuestions > 0
130