update clip path
Browse files
app.py
CHANGED
|
@@ -91,6 +91,7 @@ class WebApp():
|
|
| 91 |
print(f"Intended cache dir: {cache_path}")
|
| 92 |
config = Config()
|
| 93 |
config.cache_path = cache_path
|
|
|
|
| 94 |
config.clip_model_name = self.args_base['clip_model_name']
|
| 95 |
config.caption_model_name = self.args_base['caption_model_name']
|
| 96 |
self.ci = Interrogator(config)
|
|
|
|
| 91 |
print(f"Intended cache dir: {cache_path}")
|
| 92 |
config = Config()
|
| 93 |
config.cache_path = cache_path
|
| 94 |
+
config.clip_model_path = cache_path
|
| 95 |
config.clip_model_name = self.args_base['clip_model_name']
|
| 96 |
config.caption_model_name = self.args_base['caption_model_name']
|
| 97 |
self.ci = Interrogator(config)
|