jcsagar commited on
Commit
03dbbd1
·
verified ·
1 Parent(s): 03728a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -5,10 +5,6 @@ import torch
5
  import os
6
  from huggingface_hub import login
7
 
8
- MODEL_ACCESS_TOKEN = os.getenv('MODEL_ACCESS_TOKEN')
9
-
10
- login(MODEL_ACCESS_TOKEN)
11
-
12
  # Load the model
13
  model = AutoModel.from_pretrained("jcsagar/CXR-LLAVA-v2", trust_remote_code=True)
14
  model = model.to("cuda" if torch.cuda.is_available() else "cpu")
 
5
  import os
6
  from huggingface_hub import login
7
 
 
 
 
 
8
  # Load the model
9
  model = AutoModel.from_pretrained("jcsagar/CXR-LLAVA-v2", trust_remote_code=True)
10
  model = model.to("cuda" if torch.cuda.is_available() else "cpu")