Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ HF_HUB_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
31 |
if not HF_HUB_TOKEN:
|
32 |
raise ValueError("Missing Hugging Face API token. Please set HUGGINGFACEHUB_API_TOKEN.")
|
33 |
|
|
|
|
|
34 |
|
35 |
# Login and initialize the InferenceClient
|
36 |
login(token=HF_HUB_TOKEN)
|
|
|
31 |
if not HF_HUB_TOKEN:
|
32 |
raise ValueError("Missing Hugging Face API token. Please set HUGGINGFACEHUB_API_TOKEN.")
|
33 |
|
34 |
+
print(f"HUGGINGFACEHUB_API_TOKEN: {HUGGINGFACEHUB_API_TOKEN}")
|
35 |
+
print(f"HF_HUB_TOKEN: {HF_HUB_TOKEN}")
|
36 |
|
37 |
# Login and initialize the InferenceClient
|
38 |
login(token=HF_HUB_TOKEN)
|