Safman commited on
Commit
f0852f3
·
1 Parent(s): 8ac4ef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ from keras.models import load_model
5
  import gradio as gr
6
 
7
  # Load the model and data
8
- model = load_model("Medical-Predictive-Text/text_prediction_model.h5")
9
- train = pd.read_csv("Medical-Predictive-Text/train.csv", usecols=[2])
10
 
11
  # Preprocess the text datas
12
  text = train["text"].str.lower() # convert to lowercase
 
5
  import gradio as gr
6
 
7
  # Load the model and data
8
+ model = load_model("text_prediction_model.h5")
9
+ train = pd.read_csv("train.csv", usecols=[2])
10
 
11
  # Preprocess the text datas
12
  text = train["text"].str.lower() # convert to lowercase