AriusXi commited on
Commit
86a6e4f
1 Parent(s): 3a88180

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ mdl = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-350M-mono")
5
 
6
  def codegen(intent):
7
  # give input as text which reflects intent of the program.
8
- #text = " write a function which takes 2 numbers as input and returns the larger of the two"
9
  input_ids = codegen_tkn(intent, return_tensors="pt").input_ids
10
 
11
  gen_ids = mdl.generate(input_ids, max_length=128)
 
5
 
6
  def codegen(intent):
7
  # give input as text which reflects intent of the program.
8
+ text = " write a function which takes 2 numbers as input and returns the larger of the two"
9
  input_ids = codegen_tkn(intent, return_tensors="pt").input_ids
10
 
11
  gen_ids = mdl.generate(input_ids, max_length=128)