monurcan commited on
Commit
20b327e
·
1 Parent(s): 875f054
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def progress_bar_html(label: str) -> str:
36
  model_name = "HuggingFaceTB/SmolVLM2-256M-Video-Instruct"
37
 
38
  model = AutoModelForImageTextToText.from_pretrained(
39
- model_name, dtype=torch.bfloat16, device_map="auto"
40
  ).eval()
41
 
42
  processor = AutoProcessor.from_pretrained(model_name)
 
36
  model_name = "HuggingFaceTB/SmolVLM2-256M-Video-Instruct"
37
 
38
  model = AutoModelForImageTextToText.from_pretrained(
39
+ model_name, dtype=torch.float32, device_map="auto"
40
  ).eval()
41
 
42
  processor = AutoProcessor.from_pretrained(model_name)