yash161101 commited on
Commit
4d9c331
·
1 Parent(s): 7d0128c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ if st.button('Submit'):
19
 
20
  # generate text until the output length (which includes the context length) reaches 50
21
  #greedy_output = GPT2.generate(input_ids, max_length = MAX_LEN)
22
- outputs = model(inputs)
23
 
24
  print("Output:\n" + 100 * '-')
25
  st.write(outputs)
 
19
 
20
  # generate text until the output length (which includes the context length) reaches 50
21
  #greedy_output = GPT2.generate(input_ids, max_length = MAX_LEN)
22
+ outputs = model(**inputs)
23
 
24
  print("Output:\n" + 100 * '-')
25
  st.write(outputs)