AliArshad commited on
Commit
8c678e0
·
1 Parent(s): 478f83c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -5,10 +5,9 @@ import gradio as gr
5
 
6
  from google.colab import drive
7
 
8
- # Mount Google Drive
9
- drive.mount('/content/drive')
10
  # Path to the saved model
11
- model_path = '/content/drive/My Drive/XLNet_model_project_Core.pt' # Update with your model path
12
 
13
  # Load the saved model
14
  tokenizer = XLNetTokenizer.from_pretrained('xlnet-base-cased')
 
5
 
6
  from google.colab import drive
7
 
8
+
 
9
  # Path to the saved model
10
+ model_path = 'https://huggingface.co/spaces/AliArshad/SeverityPrediction/blob/main/XLNet_model_project_Core.pt' # Update with your model path
11
 
12
  # Load the saved model
13
  tokenizer = XLNetTokenizer.from_pretrained('xlnet-base-cased')