Spaces:
Sleeping
Sleeping
Pradeep Kumar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -24,15 +24,15 @@ print("Current Directory:", os.getcwd())
|
|
24 |
print("Files in Directory:", os.listdir())
|
25 |
|
26 |
sys.path.append('models.zip')
|
27 |
-
import
|
28 |
import numpy as np
|
29 |
import tensorflow as tf
|
30 |
import tensorflow_hub as hub
|
31 |
import tf_keras as keras
|
32 |
import pandas as pd
|
33 |
from tensorflow.keras.models import load_model
|
34 |
-
from official.nlp.data import classifier_data_lib
|
35 |
-
from official.nlp.tools import tokenization
|
36 |
import joblib
|
37 |
|
38 |
import gradio as gr
|
|
|
24 |
print("Files in Directory:", os.listdir())
|
25 |
|
26 |
sys.path.append('models.zip')
|
27 |
+
from models import official
|
28 |
import numpy as np
|
29 |
import tensorflow as tf
|
30 |
import tensorflow_hub as hub
|
31 |
import tf_keras as keras
|
32 |
import pandas as pd
|
33 |
from tensorflow.keras.models import load_model
|
34 |
+
from models.official.nlp.data import classifier_data_lib
|
35 |
+
from models.official.nlp.tools import tokenization
|
36 |
import joblib
|
37 |
|
38 |
import gradio as gr
|