Thiloid commited on
Commit
6ddc36d
·
verified ·
1 Parent(s): 4ad815d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -100,7 +100,8 @@ def responsevote(
100
  output = ""
101
  for response in stream:
102
  output += response.token.text
103
- #print(output)
 
104
  sentence_lower = output.lower()
105
  # Check if the word 'nein' is in the sentence
106
  if 'ja' in sentence_lower:
@@ -140,7 +141,8 @@ def responsecritical(
140
  output = ""
141
  for response in stream:
142
  output += response.token.text
143
- #print(output)
 
144
  sentence_lower = output.lower()
145
  # Check if the word 'nein' is in the sentence
146
  if 'ja' in sentence_lower:
 
100
  output = ""
101
  for response in stream:
102
  output += response.token.text
103
+ print("VOTE")
104
+ print(output)
105
  sentence_lower = output.lower()
106
  # Check if the word 'nein' is in the sentence
107
  if 'ja' in sentence_lower:
 
141
  output = ""
142
  for response in stream:
143
  output += response.token.text
144
+ print("CRITICAL")
145
+ print(output)
146
  sentence_lower = output.lower()
147
  # Check if the word 'nein' is in the sentence
148
  if 'ja' in sentence_lower: