liudongqing commited on
Commit
53a41f9
1 Parent(s): a3172b5

Switched to the cloned model

Browse files
Files changed (2) hide show
  1. app.py +6 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -4,7 +4,12 @@ from threading import Thread
4
  import gradio as gr
5
  from gradio import FileData
6
  import spaces
7
- model_id = "alpindale/Llama-3.2-11B-Vision"
 
 
 
 
 
8
 
9
  model = MllamaForConditionalGeneration.from_pretrained(
10
  model_id,
 
4
  import gradio as gr
5
  from gradio import FileData
6
  import spaces
7
+
8
+ from zipnn import zipnn_hf
9
+
10
+ zipnn_hf()
11
+
12
+ model_id = "royleibov/Llama-3.2-11B-Vision-Instruct-ZipNN-Compressed"
13
 
14
  model = MllamaForConditionalGeneration.from_pretrained(
15
  model_id,
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  torch
2
  spaces
3
  git+https://github.com/huggingface/transformers.git
4
- accelerate>=0.26.0
 
 
1
  torch
2
  spaces
3
  git+https://github.com/huggingface/transformers.git
4
+ accelerate>=0.26.0
5
+ zipnn