ArmelR commited on
Commit
25a8247
·
1 Parent(s): 0254cf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -105,7 +105,6 @@ def generate(
105
  else :
106
  ValueError("Unsupported version of the Coding assistant")
107
 
108
- #print("Tokens = "+str([response.token.text for response in stream]))
109
  output = ""
110
  previous_token = ""
111
  t = 0
@@ -119,7 +118,7 @@ def generate(
119
  return output.strip()
120
  else:
121
  output += response.token.text
122
- print(f"Out_{t} : {output}")
123
  t += 1
124
  previous_token = response.token.text
125
  print("Output = "+str(output))
 
105
  else :
106
  ValueError("Unsupported version of the Coding assistant")
107
 
 
108
  output = ""
109
  previous_token = ""
110
  t = 0
 
118
  return output.strip()
119
  else:
120
  output += response.token.text
121
+ #print(f"Out_{t} : {output}")
122
  t += 1
123
  previous_token = response.token.text
124
  print("Output = "+str(output))