sonu commited on
Commit
ae5a541
·
1 Parent(s): ab1e39e

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
4
  from transformers import AutoProcessor, AutoModelForCausalLM
5
 
6
  # Load model and processor
7
- processor = AutoProcessor.from_pretrained("sonukiller/git-base-cartoon")
8
  model = AutoModelForCausalLM.from_pretrained("sonukiller/git-base-cartoon")
9
 
10
  # Move model to GPU if available
 
4
  from transformers import AutoProcessor, AutoModelForCausalLM
5
 
6
  # Load model and processor
7
+ processor = AutoProcessor.from_pretrained("microsoft/git-base")
8
  model = AutoModelForCausalLM.from_pretrained("sonukiller/git-base-cartoon")
9
 
10
  # Move model to GPU if available