sachiniyer commited on
Commit
78310b8
·
verified ·
1 Parent(s): 0ef7862

Upload folder using huggingface_hub

Browse files
__pycache__/backend.cpython-312.pyc CHANGED
Binary files a/__pycache__/backend.cpython-312.pyc and b/__pycache__/backend.cpython-312.pyc differ
 
backend.py CHANGED
@@ -117,6 +117,7 @@ class Inference:
117
  response = tokenizer.decode(outputs[0], skip_special_tokens=True)
118
  response = response.split("Assistant:")[-1].strip()
119
  logger.info(f"Final response length: {len(response)}")
 
120
 
121
  return {"response": response}
122
  except Exception as e:
 
117
  response = tokenizer.decode(outputs[0], skip_special_tokens=True)
118
  response = response.split("Assistant:")[-1].strip()
119
  logger.info(f"Final response length: {len(response)}")
120
+ logger.info(f"Response: {response}")
121
 
122
  return {"response": response}
123
  except Exception as e: