Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ DEFAULT_TEMPERATURE = 0.5
|
|
| 17 |
|
| 18 |
# initialize the client
|
| 19 |
|
| 20 |
-
client =
|
| 21 |
base_url="https://api-inference.huggingface.co/v1",
|
| 22 |
api_key=os.environ.get('API_KEY') # Replace with your token
|
| 23 |
)
|
|
|
|
| 17 |
|
| 18 |
# initialize the client
|
| 19 |
|
| 20 |
+
client = OpenAI(
|
| 21 |
base_url="https://api-inference.huggingface.co/v1",
|
| 22 |
api_key=os.environ.get('API_KEY') # Replace with your token
|
| 23 |
)
|