Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ SHODAN_PROMPT = (
|
|
23 |
|
24 |
# Replace with your model repo or inference endpoint (must support streaming if you want real-time effect)
|
25 |
HF_API_URL = "https://api-inference.huggingface.co/models/TheBloke/Mistral-7B-Instruct-v0.2-GGUF"
|
26 |
-
HF_API_KEY = os.environ.get("
|
27 |
|
28 |
headers = {
|
29 |
"Authorization": f"Bearer {HF_API_KEY}",
|
|
|
23 |
|
24 |
# Replace with your model repo or inference endpoint (must support streaming if you want real-time effect)
|
25 |
HF_API_URL = "https://api-inference.huggingface.co/models/TheBloke/Mistral-7B-Instruct-v0.2-GGUF"
|
26 |
+
HF_API_KEY = os.environ.get("HF_TOKEN") # 🔐 Set in HF secrets
|
27 |
|
28 |
headers = {
|
29 |
"Authorization": f"Bearer {HF_API_KEY}",
|