Futuretop commited on
Commit
093909c
Β·
verified Β·
1 Parent(s): 9876926

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -11,6 +11,8 @@ subprocess.run(
11
  check=True
12
  )
13
 
 
 
14
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
 
16
  config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
 
11
  check=True
12
  )
13
 
14
+ model_id = "microsoft/Florence-2-base-ft"
15
+
16
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
17
 
18
  config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)