Akbartus commited on
Commit
d8cf851
·
verified ·
1 Parent(s): 2cec618

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ processor = AutoProcessor.from_pretrained("HuggingFaceTB/SmolVLM-Instruct")
13
  model = AutoModelForVision2Seq.from_pretrained("HuggingFaceTB/SmolVLM-Instruct",
14
  torch_dtype=torch.bfloat16,
15
  #_attn_implementation="flash_attention_2"
16
- ).to("cuda")
17
 
18
  @spaces.GPU
19
  def model_inference(
 
13
  model = AutoModelForVision2Seq.from_pretrained("HuggingFaceTB/SmolVLM-Instruct",
14
  torch_dtype=torch.bfloat16,
15
  #_attn_implementation="flash_attention_2"
16
+ ).to("cpu")
17
 
18
  @spaces.GPU
19
  def model_inference(