YasirAbdali commited on
Commit
ae159d3
·
verified ·
1 Parent(s): 09b271e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
 
5
  @st.cache_resource
6
  def load_model():
7
- model_path = "YasirAbdali/qoura_roberta" # Replace with your actual model path
8
  model = AutoModelForQuestionAnswering.from_pretrained(model_path)
9
  tokenizer = AutoTokenizer.from_pretrained(model_path)
10
  return model, tokenizer
 
4
 
5
  @st.cache_resource
6
  def load_model():
7
+ model_path = "YasirAbdali/roberta_qoura" # Replace with your actual model path
8
  model = AutoModelForQuestionAnswering.from_pretrained(model_path)
9
  tokenizer = AutoTokenizer.from_pretrained(model_path)
10
  return model, tokenizer