Spaces:
Runtime error
Runtime error
Update content.py
Browse files- content.py +1 -1
content.py
CHANGED
@@ -45,7 +45,7 @@ def get_content_generation(request_id):
|
|
45 |
if access_token is None:
|
46 |
return {"Error": "Failed to generate access token"}
|
47 |
|
48 |
-
url = f"http://20.193.151.200:8080/k12/generate/content/{request_id}"
|
49 |
headers = {"accept": "application/json",
|
50 |
"Authorization": access_token}
|
51 |
|
|
|
45 |
if access_token is None:
|
46 |
return {"Error": "Failed to generate access token"}
|
47 |
|
48 |
+
url = f"http://20.193.151.200:8080/v1/k12/generate/content/{request_id}"
|
49 |
headers = {"accept": "application/json",
|
50 |
"Authorization": access_token}
|
51 |
|