Spaces:
Sleeping
Sleeping
Update app_logic.py
Browse files- app_logic.py +3 -0
app_logic.py
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
from neo4j import GraphDatabase
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import time
|
|
|
|
|
|
|
5 |
|
6 |
# Setup Hugging Face inference client
|
7 |
client = InferenceClient(api_key=HF_API_KEY)
|
|
|
2 |
from neo4j import GraphDatabase
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import time
|
5 |
+
import os
|
6 |
+
|
7 |
+
HF_API_KEY = os.getenv("HF_API_KEY")
|
8 |
|
9 |
# Setup Hugging Face inference client
|
10 |
client = InferenceClient(api_key=HF_API_KEY)
|