vinayakj02 commited on
Commit
0aafcd5
1 Parent(s): dc3ff8d

increase context length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def generate_latex(code):
9
  prompt= f"{code}\nGenerate Pseudocode from given code snippet using the latex packages algorithm and algpseudocode\nLatex Code : "
10
  ,temperature=0.5,
11
  top_p=0.9,
12
- max_tokens=200,
13
  )
14
  return "\\usepackage{algorithm}\n\\usepackage{algpseudocode}" + response['choices'][0]["text"]
15
 
 
9
  prompt= f"{code}\nGenerate Pseudocode from given code snippet using the latex packages algorithm and algpseudocode\nLatex Code : "
10
  ,temperature=0.5,
11
  top_p=0.9,
12
+ max_tokens=300,
13
  )
14
  return "\\usepackage{algorithm}\n\\usepackage{algpseudocode}" + response['choices'][0]["text"]
15