arcsu1 commited on
Commit
1e2c555
·
1 Parent(s): d97f6bd
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -72,9 +72,9 @@ def generate():
72
 
73
 
74
  try:
75
- txt_lstm = predict(text_,10,lstm)
76
- txt_bilstm = predict(text_,10,bilstm)
77
- txt_gru = predict(text_,10,gru)
78
 
79
  return render_template('generate.html' ,res_lstm=txt_lstm,res_bilstm=txt_bilstm,res_gru=txt_gru)
80
  except :
 
72
 
73
 
74
  try:
75
+ txt_lstm = predict(text_,5,lstm)
76
+ txt_bilstm = predict(text_,5,bilstm)
77
+ txt_gru = predict(text_,5,gru)
78
 
79
  return render_template('generate.html' ,res_lstm=txt_lstm,res_bilstm=txt_bilstm,res_gru=txt_gru)
80
  except :