Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -645,8 +645,8 @@ def generate_key_issues():
|
|
645 |
|
646 |
# Make a request to the external API
|
647 |
API_URL = "https://organizedprogrammers-fastapi-kig.hf.space/"
|
648 |
-
|
649 |
-
endpoint = f"{API_URL}/key-issue-format" # mock faster for demo
|
650 |
api_data = {"query": query}
|
651 |
|
652 |
response = requests.post(endpoint, json=api_data, verify=False)
|
@@ -675,8 +675,8 @@ def generate_prior_art():
|
|
675 |
|
676 |
# Make a request to the external API
|
677 |
API_URL = "https://organizedprogrammers-fastapi-kig.hf.space"
|
678 |
-
|
679 |
-
endpoint = f"{API_URL}/create-several-hardcoded" # mock faster for demo
|
680 |
api_data = {
|
681 |
"keys_issues": keys_issues,
|
682 |
"technical_topic": technical_topic
|
|
|
645 |
|
646 |
# Make a request to the external API
|
647 |
API_URL = "https://organizedprogrammers-fastapi-kig.hf.space/"
|
648 |
+
endpoint = f"{API_URL}/generate-key-issues"
|
649 |
+
# endpoint = f"{API_URL}/key-issue-format" # mock faster for demo
|
650 |
api_data = {"query": query}
|
651 |
|
652 |
response = requests.post(endpoint, json=api_data, verify=False)
|
|
|
675 |
|
676 |
# Make a request to the external API
|
677 |
API_URL = "https://organizedprogrammers-fastapi-kig.hf.space"
|
678 |
+
endpoint = f"{API_URL}/create-several-probdesc"
|
679 |
+
# endpoint = f"{API_URL}/create-several-hardcoded" # mock faster for demo
|
680 |
api_data = {
|
681 |
"keys_issues": keys_issues,
|
682 |
"technical_topic": technical_topic
|