far555na commited on
Commit
b4aa23e
1 Parent(s): 34987fa

Update ig.py

Browse files
Files changed (1) hide show
  1. ig.py +1 -1
ig.py CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoProcessor, AutoModelForCausalLM
2
  import gradio as gr
3
  import torch
4
 
5
- model = AutoModelForCausalLM.from_pretrained("./", local_files_only=True)
6
  processor = AutoProcessor.from_pretrained("microsoft/git-base")
7
 
8
  def predict(image):
 
2
  import gradio as gr
3
  import torch
4
 
5
+ model = AutoModelForCausalLM.from_pretrained("./")
6
  processor = AutoProcessor.from_pretrained("microsoft/git-base")
7
 
8
  def predict(image):