Mushfi commited on
Commit
4255cac
1 Parent(s): 0495d53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import numpy as np
7
  model_name = 'cardiffnlp/twitter-roberta-base-sentiment-latest'
8
  tokenizer = AutoTokenizer.from_pretrained(model_name)
9
  model = tf.keras.models.load_model(
10
- "/content/SpecX2/model.h5",
11
  custom_objects={
12
  'TFRobertaModel': TFAutoModel.from_pretrained(model_name)
13
  }
 
7
  model_name = 'cardiffnlp/twitter-roberta-base-sentiment-latest'
8
  tokenizer = AutoTokenizer.from_pretrained(model_name)
9
  model = tf.keras.models.load_model(
10
+ "model.h5",
11
  custom_objects={
12
  'TFRobertaModel': TFAutoModel.from_pretrained(model_name)
13
  }