monra commited on
Commit
d6fdb44
1 Parent(s): 115ea02

Remove unnecessary print

Browse files
Files changed (1) hide show
  1. g4f/Provider/Providers/Better.py +0 -1
g4f/Provider/Providers/Better.py CHANGED
@@ -40,7 +40,6 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
40
  if decoded.startswith('data: '):
41
  data_str = decoded.replace('data: ', '')
42
  data = json.loads(data_str)
43
- print(data)
44
  if 'choices' in data and 'delta' in data['choices'][0]:
45
  delta = data['choices'][0]['delta']
46
  content = delta.get('content', '')
 
40
  if decoded.startswith('data: '):
41
  data_str = decoded.replace('data: ', '')
42
  data = json.loads(data_str)
 
43
  if 'choices' in data and 'delta' in data['choices'][0]:
44
  delta = data['choices'][0]['delta']
45
  content = delta.get('content', '')