Commit
·
9e9314d
1
Parent(s):
6ddb8f0
readme Updated with Space name
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ json_data = {
|
|
24 |
"expiry_date": "2023-06-15"
|
25 |
}
|
26 |
|
27 |
-
response = requests.post('
|
28 |
token = response.json()
|
29 |
```
|
30 |
### calling open API (text-davinci-002/gpt-3.5-turbo)
|
@@ -43,7 +43,7 @@ json_data = {
|
|
43 |
"model_name" : "gpt-3.5-turbo"
|
44 |
}
|
45 |
|
46 |
-
response = requests.post('
|
47 |
if response.status_code == 200:
|
48 |
print(response.json())
|
49 |
```
|
|
|
24 |
"expiry_date": "2023-06-15"
|
25 |
}
|
26 |
|
27 |
+
response = requests.post('https://subhraj07-chatapi.hf.space/create', headers=headers, json=json_data)
|
28 |
token = response.json()
|
29 |
```
|
30 |
### calling open API (text-davinci-002/gpt-3.5-turbo)
|
|
|
43 |
"model_name" : "gpt-3.5-turbo"
|
44 |
}
|
45 |
|
46 |
+
response = requests.post('https://subhraj07-chatapi.hf.space/chat', headers=headers, json=json_data)
|
47 |
if response.status_code == 200:
|
48 |
print(response.json())
|
49 |
```
|