gofeco commited on
Commit
fcbf96e
1 Parent(s): 72e8145

Update nand.py

Browse files
Files changed (1) hide show
  1. nand.py +2 -2
nand.py CHANGED
@@ -68,7 +68,7 @@ def process_query(iniquery, para):
68
  print(f"THE QUERY SCORE for creating eco script: score={needScriptScores[0]}")
69
  allapis = []
70
  threshold = 0.45
71
- itiscript = 0
72
  if needScriptScores[0] > threshold:
73
  itisscript = 1
74
  print(f"THE QUERY REQUIRES CREATING AN ECO SCRIPT score={needScriptScores[0]} > {threshold}")
@@ -161,7 +161,7 @@ def process_query(iniquery, para):
161
  outlen = len(llmout)
162
  prolen = len(prompt)
163
  print(f"Prompt len: {prolen} LLMOUT len: {outlen} itisscript: {itisscript}")
164
- return itiscript,llmout
165
  allret = "LLM_OUTPUT_START:"+llmout+"\nEND OF LLM OUTPUT\n"+prompt
166
  return itisscript,allret
167
  return itisscript,ret
 
68
  print(f"THE QUERY SCORE for creating eco script: score={needScriptScores[0]}")
69
  allapis = []
70
  threshold = 0.45
71
+ itisscript = 0
72
  if needScriptScores[0] > threshold:
73
  itisscript = 1
74
  print(f"THE QUERY REQUIRES CREATING AN ECO SCRIPT score={needScriptScores[0]} > {threshold}")
 
161
  outlen = len(llmout)
162
  prolen = len(prompt)
163
  print(f"Prompt len: {prolen} LLMOUT len: {outlen} itisscript: {itisscript}")
164
+ return itisscript,llmout
165
  allret = "LLM_OUTPUT_START:"+llmout+"\nEND OF LLM OUTPUT\n"+prompt
166
  return itisscript,allret
167
  return itisscript,ret