broadfield commited on
Commit
70d358c
·
verified ·
1 Parent(s): 77a99bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -96,10 +96,10 @@ def generate(prompt,history,mod=2,tok=4000,seed=1,role="ASSISTANT",data=None):
96
  #prompt=f"We just completed role:{role}, now choose the next tool to complete the task:{prompt}, or COMPLETE"
97
  for response in stream:
98
  output += response.token.text
99
- print(output)
100
- yield output
101
- yield history
102
- yield prompt
103
 
104
  elif role=="CREATE_FILE":
105
  print("Running Create File")
 
96
  #prompt=f"We just completed role:{role}, now choose the next tool to complete the task:{prompt}, or COMPLETE"
97
  for response in stream:
98
  output += response.token.text
99
+ #print(output)
100
+ yield output
101
+ yield history
102
+ yield prompt
103
 
104
  elif role=="CREATE_FILE":
105
  print("Running Create File")