Commit
·
6439f9c
1
Parent(s):
8c7931d
fix base url to None
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ client = InferenceClient(
|
|
19 |
token=os.getenv("HF_TOKEN"),
|
20 |
model=(
|
21 |
os.getenv("MODEL", "meta-llama/Llama-3.2-11B-Vision-Instruct")
|
22 |
-
if
|
23 |
else None
|
24 |
),
|
25 |
base_url=os.getenv("BASE_URL"),
|
|
|
19 |
token=os.getenv("HF_TOKEN"),
|
20 |
model=(
|
21 |
os.getenv("MODEL", "meta-llama/Llama-3.2-11B-Vision-Instruct")
|
22 |
+
if BASE_URL is None
|
23 |
else None
|
24 |
),
|
25 |
base_url=os.getenv("BASE_URL"),
|