yash-srivastava19 commited on
Commit
fa433ff
·
verified ·
1 Parent(s): 22a629d

Update custom_llm.py

Browse files

I am doing stupid things

Files changed (1) hide show
  1. custom_llm.py +1 -1
custom_llm.py CHANGED
@@ -20,7 +20,7 @@ class CustomLLM(LLM):
20
  response = co.chat(message=f'{prompt}', max_tokens=1700, temperature=0.9)
21
  print(response.text)
22
 
23
- return f' ```python \n {response.generations[0].text} \n ``` '
24
 
25
  @property
26
  def _identifying_params(self):
 
20
  response = co.chat(message=f'{prompt}', max_tokens=1700, temperature=0.9)
21
  print(response.text)
22
 
23
+ return f' ```python \n {response.text} \n ``` '
24
 
25
  @property
26
  def _identifying_params(self):