Nishthaaa commited on
Commit
bbe5e0c
·
1 Parent(s): bad6934

model name added

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  # Load model and processor
7
  @st.cache_resource
8
  def load_model():
9
- model_name = "your-huggingface-username/your-model-name"
10
  processor = BlipProcessor.from_pretrained(model_name)
11
  model = BlipForConditionalGeneration.from_pretrained(model_name)
12
  return processor, model
 
6
  # Load model and processor
7
  @st.cache_resource
8
  def load_model():
9
+ model_name = "Nishthaaa/image_captioning"
10
  processor = BlipProcessor.from_pretrained(model_name)
11
  model = BlipForConditionalGeneration.from_pretrained(model_name)
12
  return processor, model