Pradeep Kumar commited on
Commit
cf64ea1
1 Parent(s): 9f3ca3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -2,6 +2,8 @@ import zipfile
2
  import sys
3
  import os
4
 
 
 
5
  # Check current directory and list files
6
  print("Current Directory:", os.getcwd())
7
  print("Files in Directory:", os.listdir())
@@ -12,8 +14,8 @@ import tensorflow_hub as hub
12
  import tf_keras as keras
13
  import pandas as pd
14
  from tensorflow.keras.models import load_model
15
- import classifier_data_lib
16
- import tokenization
17
  import joblib
18
 
19
  import gradio as gr
 
2
  import sys
3
  import os
4
 
5
+ sys.path.apppend('https://huggingface.co/spaces/PradeepJha/ISCO-code-predictor-api/resolve/main/models.zip')
6
+
7
  # Check current directory and list files
8
  print("Current Directory:", os.getcwd())
9
  print("Files in Directory:", os.listdir())
 
14
  import tf_keras as keras
15
  import pandas as pd
16
  from tensorflow.keras.models import load_model
17
+ from official.nlp.data import classifier_data_lib
18
+ from official.nlp.tools import tokenization
19
  import joblib
20
 
21
  import gradio as gr