arampacha commited on
Commit
7e44eab
1 Parent(s): eb175a0

fix output

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -122,8 +122,8 @@ def run():
122
 
123
  if submit_button:
124
 
125
- generate_solution(model, tokenizer, question, starter_code, temperature, num_beams)
126
- st.code(tmp, language="python")
127
 
128
 
129
  if __name__=="__main__":
 
122
 
123
  if submit_button:
124
 
125
+ output = generate_solution(model, tokenizer, question, starter_code, temperature, num_beams)
126
+ st.code(output, language="python")
127
 
128
 
129
  if __name__=="__main__":