Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cora backend #30

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed headers
coraleaf0602 committed Feb 12, 2024
commit c88ffd737844e287bcb646813768cca61f9b47be
1 change: 0 additions & 1 deletion Backend/test.py
Original file line number Diff line number Diff line change
@@ -31,7 +31,6 @@ def predict():
# Make POST request to Azure model endpoint
url = "https://dellsemanticproductlink.cognitiveservices.azure.com/language/authoring/analyze-text/projects/hello/:import?api-version=2022-10-01-preview"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "b3bb51730d9c4d6f92abd3d817d46043"
}
response = requests.post(url=url, headers=headers, json=data)