xzuyn commited on
Commit
93282d7
·
verified ·
1 Parent(s): 3e8d694

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,15 +12,15 @@ import torch
12
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
13
 
14
  model = AutoModelForCausalLM.from_pretrained(
15
- 'PJMixers-Images/Florence-2-base-Castollux-v0.4',
16
  trust_remote_code=True
17
  ).eval()
18
  processor = AutoProcessor.from_pretrained(
19
- 'PJMixers-Images/Florence-2-base-Castollux-v0.4',
20
  trust_remote_code=True
21
  )
22
 
23
- TITLE = "# [PJMixers-Images/Florence-2-base-Castollux-v0.4](https://huggingface.co/PJMixers-Images/Florence-2-base-Castollux-v0.4)"
24
 
25
 
26
  @spaces.GPU
 
12
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
13
 
14
  model = AutoModelForCausalLM.from_pretrained(
15
+ 'PJMixers-Images/Florence-2-base-Castollux-v0.5',
16
  trust_remote_code=True
17
  ).eval()
18
  processor = AutoProcessor.from_pretrained(
19
+ 'PJMixers-Images/Florence-2-base-Castollux-v0.5',
20
  trust_remote_code=True
21
  )
22
 
23
+ TITLE = "# [PJMixers-Images/Florence-2-base-Castollux-v0.5](https://huggingface.co/PJMixers-Images/Florence-2-base-Castollux-v0.5)"
24
 
25
 
26
  @spaces.GPU