Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,10 @@ openai.api_key = os.getenv("AZURE_API_KEY")
|
|
| 15 |
print(f"Azure API token: {azure_api_key}")
|
| 16 |
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
def compare_claims(claim1, claim2):
|
| 19 |
try:
|
| 20 |
response = openai.ChatCompletion.create(
|
|
|
|
| 15 |
print(f"Azure API token: {azure_api_key}")
|
| 16 |
|
| 17 |
|
| 18 |
+
# Example Claims
|
| 19 |
+
claim_text1 = "Car accident on highway, minor injuries, estimated damage $5000."
|
| 20 |
+
claim_text2 = "Car collision at intersection, severe injuries, estimated damage $15000."
|
| 21 |
+
|
| 22 |
def compare_claims(claim1, claim2):
|
| 23 |
try:
|
| 24 |
response = openai.ChatCompletion.create(
|