Spaces:
Sleeping
Sleeping
Wedyan2023
commited on
Update app2.py
Browse files
app2.py
CHANGED
@@ -28,7 +28,7 @@ load_dotenv()
|
|
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('
|
32 |
)
|
33 |
|
34 |
# Supported models
|
|
|
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('TOKEN2') # Add your Huggingface token here
|
32 |
)
|
33 |
|
34 |
# Supported models
|