Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
·
fd6c6c7
1
Parent(s):
0401525
push
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ import json
|
|
5 |
from bs4 import BeautifulSoup
|
6 |
import requests
|
7 |
from huggingface_hub import InferenceClient
|
8 |
-
|
9 |
|
10 |
# Define global variables
|
11 |
BOT_AVATAR = 'https://automatedstockmining.org/wp-content/uploads/2024/08/south-west-value-mining-logo.webp'
|
12 |
-
hf_token =
|
13 |
|
14 |
client = InferenceClient(token=hf_token)
|
15 |
|
|
|
5 |
from bs4 import BeautifulSoup
|
6 |
import requests
|
7 |
from huggingface_hub import InferenceClient
|
8 |
+
|
9 |
|
10 |
# Define global variables
|
11 |
BOT_AVATAR = 'https://automatedstockmining.org/wp-content/uploads/2024/08/south-west-value-mining-logo.webp'
|
12 |
+
hf_token = os.getenv("HF_TOKEN")
|
13 |
|
14 |
client = InferenceClient(token=hf_token)
|
15 |
|