Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,9 @@ load_dotenv()
|
|
| 17 |
# Initialize the client
|
| 18 |
client = OpenAI(
|
| 19 |
base_url="https://api-inference.huggingface.co/v1",
|
| 20 |
-
api_key=os.environ.get('HUGGINGFACEHUB_API_TOKEN') # Replace with your token
|
|
|
|
|
|
|
| 21 |
)
|
| 22 |
|
| 23 |
# Function to reset conversation
|
|
|
|
| 17 |
# Initialize the client
|
| 18 |
client = OpenAI(
|
| 19 |
base_url="https://api-inference.huggingface.co/v1",
|
| 20 |
+
#api_key=os.environ.get('HUGGINGFACEHUB_API_TOKEN') # Replace with your token
|
| 21 |
+
api_key=os.environ.get('HF_TOKEN') # Replace with your token
|
| 22 |
+
|
| 23 |
)
|
| 24 |
|
| 25 |
# Function to reset conversation
|