Spaces:
Runtime error
Runtime error
lorocksUMD
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,9 @@ tokenizer = AutoTokenizer.from_pretrained(model_path)
|
|
19 |
# # offload_folder="/content/sample_data"
|
20 |
# )
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
|
27 |
def respond(
|
|
|
19 |
# # offload_folder="/content/sample_data"
|
20 |
# )
|
21 |
|
22 |
+
tokenizer, model, image_processor, context_len = load_pretrained_model(
|
23 |
+
model_path, None, model_name
|
24 |
+
)
|
25 |
|
26 |
|
27 |
def respond(
|