OjciecTadeusz commited on
Commit
7d56800
·
verified ·
1 Parent(s): a97e214

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -54,7 +54,7 @@ def generate(item: Item):
54
  output = ""
55
 
56
  for response in stream:
57
- Check if response has the attribute 'token'
58
 
59
  if hasattr(response, 'tokens'):
60
  output += response.token.text
 
54
  output = ""
55
 
56
  for response in stream:
57
+ # Check if response has the attribute 'token'
58
 
59
  if hasattr(response, 'tokens'):
60
  output += response.token.text