Spaces:
Sleeping
Sleeping
Commit
·
83f3ad0
1
Parent(s):
856d8ac
fix interface
Browse files
app.py
CHANGED
@@ -424,8 +424,7 @@ if __name__ == "__main__":
|
|
424 |
logger.info(gr.__version__)
|
425 |
from huggingface_hub import snapshot_download
|
426 |
huggingface_path = Path(snapshot_download(repo_id="laurenssam/privacy-aware-visual-language-models"))
|
427 |
-
|
428 |
-
model_name = huggingface_path / "tinyllava_demo"
|
429 |
tokenizer, model, image_processor, context_len = load_pretrained_model(
|
430 |
model_path=str(model_name),
|
431 |
model_base="bczhou/TinyLLaVA-3.1B",
|
|
|
424 |
logger.info(gr.__version__)
|
425 |
from huggingface_hub import snapshot_download
|
426 |
huggingface_path = Path(snapshot_download(repo_id="laurenssam/privacy-aware-visual-language-models"))
|
427 |
+
model_name = str(huggingface_path / "tinyllava_demo")
|
|
|
428 |
tokenizer, model, image_processor, context_len = load_pretrained_model(
|
429 |
model_path=str(model_name),
|
430 |
model_base="bczhou/TinyLLaVA-3.1B",
|