nestole commited on
Commit
853f2d0
1 Parent(s): 48c2bf9

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +3 -0
run.py CHANGED
@@ -228,6 +228,8 @@ def responsecritical(
228
  print(streamc)
229
  for responsec in streamc:
230
  outputc += responsec.token.text
 
 
231
  sentence_lower = outputc.lower()
232
  print("Done critcial")
233
  # Check if the word 'nein' is in the sentence
@@ -301,6 +303,7 @@ def response(
301
  output = ""
302
  for response in stream:
303
  output += response.token.text
 
304
  osaanswer=simosa(prompt, osalist, osa)
305
  output=output[:-4]+"\n"+osaanswer
306
  now = str(datetime.now())
 
228
  print(streamc)
229
  for responsec in streamc:
230
  outputc += responsec.token.text
231
+ print("CRITICAL")
232
+ print(outputc)
233
  sentence_lower = outputc.lower()
234
  print("Done critcial")
235
  # Check if the word 'nein' is in the sentence
 
303
  output = ""
304
  for response in stream:
305
  output += response.token.text
306
+ print(output)
307
  osaanswer=simosa(prompt, osalist, osa)
308
  output=output[:-4]+"\n"+osaanswer
309
  now = str(datetime.now())