Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ load_dotenv()
|
|
20 |
|
21 |
|
22 |
# initialize the client
|
23 |
-
client =
|
24 |
base_url="https://api-inference.huggingface.co/v1",
|
25 |
api_key=os.environ.get('HUGGINGFACE_API')#"hf_xxx" # Replace with your token
|
26 |
)
|
|
|
20 |
|
21 |
|
22 |
# initialize the client
|
23 |
+
client = OpenAI(
|
24 |
base_url="https://api-inference.huggingface.co/v1",
|
25 |
api_key=os.environ.get('HUGGINGFACE_API')#"hf_xxx" # Replace with your token
|
26 |
)
|