sst1 commited on
Commit
fb1b754
1 Parent(s): 3106150

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import AutoTokenizer
3
  from llava import LlavaForConditionalGeneration
4
 
5
  # Load the LLaVA model and tokenizer from the Hub
6
- model = LlavaForConditionalGeneration.from_pretrained("llava-hf/llava-1.5-7b-hf")
7
- tokenizer = AutoTokenizer.from_pretrained("llava-hf/llava-1.5-7b-hf")
8
 
9
  # Define a function to generate a response given an input text and an optional image URL
10
  def generate_response(text, image_url=None):
 
3
  from llava import LlavaForConditionalGeneration
4
 
5
  # Load the LLaVA model and tokenizer from the Hub
6
+ model = LlavaForConditionalGeneration.from_pretrained("liuhaotian/llava-v1.6-34b")
7
+ tokenizer = AutoTokenizer.from_pretrained("liuhaotian/llava-v1.6-34b")
8
 
9
  # Define a function to generate a response given an input text and an optional image URL
10
  def generate_response(text, image_url=None):