jonathanjordan21 commited on
Commit
5d0ce6b
·
verified ·
1 Parent(s): 76622a9

Update custom_llm.py

Browse files
Files changed (1) hide show
  1. custom_llm.py +2 -2
custom_llm.py CHANGED
@@ -174,8 +174,8 @@ def out_format(text, llm, df):
174
  for i in range(6):
175
 
176
  try :
177
- # text = text.split("```python")[-1].split("```")[0]
178
- text = text.split("# Generated Code")[-1].split("`")[0]
179
  print(text)
180
  exec(text)
181
 
 
174
  for i in range(6):
175
 
176
  try :
177
+ text = text.split("```python")[-1].split("```")[0]
178
+ # text = text.split("# Generated Code")[-1].split("```")[0]
179
  print(text)
180
  exec(text)
181