Alien-Y commited on
Commit
ee4f454
·
1 Parent(s): b3c1267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ model = keras.models.load_model('model')
25
  # parameters
26
  max_len = 20
27
 
28
- question = st.textarea('اسأل سؤال....')
29
 
30
  result = model.predict(keras.preprocessing.sequence.pad_sequences(tokenizer.texts_to_sequences([question]),
31
  truncating='post', maxlen=max_len))
 
25
  # parameters
26
  max_len = 20
27
 
28
+ question = st.text_area('اسأل سؤال....')
29
 
30
  result = model.predict(keras.preprocessing.sequence.pad_sequences(tokenizer.texts_to_sequences([question]),
31
  truncating='post', maxlen=max_len))