Commit
·
8c7931d
1
Parent(s):
fd4d6cb
fix handling BASE_URL
Browse files
app.py
CHANGED
@@ -11,6 +11,10 @@ from pandas import DataFrame
|
|
11 |
|
12 |
from feedback import save_feedback
|
13 |
|
|
|
|
|
|
|
|
|
14 |
client = InferenceClient(
|
15 |
token=os.getenv("HF_TOKEN"),
|
16 |
model=(
|
|
|
11 |
|
12 |
from feedback import save_feedback
|
13 |
|
14 |
+
MODEL = os.getenv("MODEL", "meta-llama/Llama-3.2-11B-Vision-Instruct")
|
15 |
+
BASE_URL = os.getenv("BASE_URL")
|
16 |
+
BASE_URL = BASE_URL if BASE_URL else None
|
17 |
+
|
18 |
client = InferenceClient(
|
19 |
token=os.getenv("HF_TOKEN"),
|
20 |
model=(
|