Update app.py
Browse files
app.py
CHANGED
@@ -16,4 +16,6 @@ def load_model():
|
|
16 |
|
17 |
|
18 |
tokenizer = CLIPTokenizer.from_pretrained(model_name_or_path)
|
19 |
-
return model, tokenizer, processor
|
|
|
|
|
|
16 |
|
17 |
|
18 |
tokenizer = CLIPTokenizer.from_pretrained(model_name_or_path)
|
19 |
+
return model, tokenizer, processor
|
20 |
+
|
21 |
+
load_model()
|