Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,8 +27,8 @@ load_dotenv()
|
|
| 27 |
# Initialize the client
|
| 28 |
client = OpenAI(
|
| 29 |
base_url="https://api-inference.huggingface.co/v1",
|
| 30 |
-
api_key=os.environ.get('HUGGINGFACE_API_TOKEN') # Add your Huggingface token here
|
| 31 |
-
|
| 32 |
)
|
| 33 |
|
| 34 |
# Supported models
|
|
|
|
| 27 |
# Initialize the client
|
| 28 |
client = OpenAI(
|
| 29 |
base_url="https://api-inference.huggingface.co/v1",
|
| 30 |
+
#api_key=os.environ.get('HUGGINGFACE_API_TOKEN') # Add your Huggingface token here
|
| 31 |
+
api_key=os.environ.get('HF_TOKEN') # Add your Huggingface token here
|
| 32 |
)
|
| 33 |
|
| 34 |
# Supported models
|