ManishThota commited on
Commit
39a79b1
1 Parent(s): fc77218

Rename app_main.py to app.py

Browse files
Files changed (1) hide show
  1. app_main.py → app.py +2 -2
app_main.py → app.py RENAMED
@@ -10,11 +10,11 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
10
 
11
 
12
  # Initialize the model and tokenizer
13
- model = AutoModelForCausalLM.from_pretrained("ManishThota/SparrowVQE",
14
  torch_dtype=torch.float16,
15
  device_map="auto",
16
  trust_remote_code=True)
17
- tokenizer = AutoTokenizer.from_pretrained("ManishThota/SparrowVQE", trust_remote_code=True)
18
 
19
  def predict_answer(image, question, max_tokens=100):
20
  #Set inputs
 
10
 
11
 
12
  # Initialize the model and tokenizer
13
+ model = AutoModelForCausalLM.from_pretrained("rrymn/SparrowVQE",
14
  torch_dtype=torch.float16,
15
  device_map="auto",
16
  trust_remote_code=True)
17
+ tokenizer = AutoTokenizer.from_pretrained("rrymn/SparrowVQE", trust_remote_code=True)
18
 
19
  def predict_answer(image, question, max_tokens=100):
20
  #Set inputs