ierhon commited on
Commit
9e6c667
1 Parent(s): d3bc923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  from todset import todset
3
- from keras.
 
 
 
4
 
5
  def train(data: str, message: str):
6
  if "→" not in data and "\n" not in data:
 
1
  import gradio as gr
2
  from todset import todset
3
+ from keras.models import Sequential
4
+ from keras.layers import Embedding, Dense, Dropout, Flatten, PReLU
5
+ from keras.preprocessing.text import Tokenizer
6
+ from keras_self_attention import SeqSelfAttention, SeqWeightedAttention
7
 
8
  def train(data: str, message: str):
9
  if "→" not in data and "\n" not in data: