Spaces:
Running
Running
Commit
·
0c553d9
1
Parent(s):
52c6b94
Rm inference from hf hub
Browse files
vlm.py
CHANGED
@@ -8,7 +8,7 @@ from translation import translate_query
|
|
8 |
|
9 |
# Initialise once
|
10 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
11 |
-
client = InferenceClient(provider="auto", api_key=HF_TOKEN)
|
12 |
|
13 |
logger = logging.getLogger("vlm-agent")
|
14 |
logging.basicConfig(level=logging.INFO, format="%(asctime)s — %(name)s — %(levelname)s — %(message)s", force=True) # Change INFO to DEBUG for full-ctx JSON loader
|
|
|
8 |
|
9 |
# Initialise once
|
10 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
11 |
+
# client = InferenceClient(provider="auto", api_key=HF_TOKEN)
|
12 |
|
13 |
logger = logging.getLogger("vlm-agent")
|
14 |
logging.basicConfig(level=logging.INFO, format="%(asctime)s — %(name)s — %(levelname)s — %(message)s", force=True) # Change INFO to DEBUG for full-ctx JSON loader
|