OjciecTadeusz commited on
Commit
f01378a
1 Parent(s): ce5d4ab

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -57,6 +57,7 @@ def generate(item: Item):
57
  # Check if response has the attribute 'token'
58
 
59
  if hasattr(response, 'tokens'):
 
60
  output += response.token.text
61
  else:
62
  output += response # If not, treat it as a string
 
57
  # Check if response has the attribute 'token'
58
 
59
  if hasattr(response, 'tokens'):
60
+ print('tokens')
61
  output += response.token.text
62
  else:
63
  output += response # If not, treat it as a string