Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
32aeef0
1
Parent(s):
96983ba
update
Browse files- util/model.py +1 -1
util/model.py
CHANGED
@@ -57,7 +57,7 @@ class ContentFormatter:
|
|
57 |
|
58 |
class AzureAgent:
|
59 |
def __init__(self, api_key, azure_uri, deployment_name):
|
60 |
-
self.azure_uri = azure_uri
|
61 |
self.headers = {
|
62 |
'Authorization': f"Bearer {api_key}",
|
63 |
'Content-Type': 'application/json'
|
|
|
57 |
|
58 |
class AzureAgent:
|
59 |
def __init__(self, api_key, azure_uri, deployment_name):
|
60 |
+
self.azure_uri = 'https://' + azure_uri
|
61 |
self.headers = {
|
62 |
'Authorization': f"Bearer {api_key}",
|
63 |
'Content-Type': 'application/json'
|