Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,9 @@ import pytz
|
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
import tensorflow as tf
|
| 10 |
from tensorflow.keras.preprocessing.text import Tokenizer
|
| 11 |
from tensorflow.keras.layers import Embedding, LSTM, Dense,GRU, Bidirectional
|
|
@@ -19,8 +21,6 @@ from sklearn.model_selection import train_test_split
|
|
| 19 |
from tensorflow.keras.callbacks import ModelCheckpoint
|
| 20 |
from tensorflow.keras.models import load_model
|
| 21 |
|
| 22 |
-
from Gradio_UI import GradioUI
|
| 23 |
-
|
| 24 |
# Below is an example of a tool that does nothing. Amaze us with your creativity!
|
| 25 |
@tool
|
| 26 |
def open_file_parts(openfile: int) -> int:
|
|
|
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
|
| 8 |
+
from Gradio_UI import GradioUI
|
| 9 |
+
|
| 10 |
+
#predict next word libraries
|
| 11 |
import tensorflow as tf
|
| 12 |
from tensorflow.keras.preprocessing.text import Tokenizer
|
| 13 |
from tensorflow.keras.layers import Embedding, LSTM, Dense,GRU, Bidirectional
|
|
|
|
| 21 |
from tensorflow.keras.callbacks import ModelCheckpoint
|
| 22 |
from tensorflow.keras.models import load_model
|
| 23 |
|
|
|
|
|
|
|
| 24 |
# Below is an example of a tool that does nothing. Amaze us with your creativity!
|
| 25 |
@tool
|
| 26 |
def open_file_parts(openfile: int) -> int:
|