Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,9 +94,8 @@ def create_freshdesk_ticket(incident_type, confidence_score, img):
|
|
| 94 |
# Shortened subject
|
| 95 |
subject = f"""{incident_type} Detected - Confidence: {confidence_score*100:.1f}%
|
| 96 |
Details:
|
| 97 |
-
1. Address:
|
| 98 |
2. Image URL: {image_url or 'https://example.com/roboi.jpg'}
|
| 99 |
-
3. Incident Time: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}
|
| 100 |
"""
|
| 101 |
|
| 102 |
# Detailed description
|
|
|
|
| 94 |
# Shortened subject
|
| 95 |
subject = f"""{incident_type} Detected - Confidence: {confidence_score*100:.1f}%
|
| 96 |
Details:
|
| 97 |
+
1. Address: Hafeez Centre, Gulberg, Lahore
|
| 98 |
2. Image URL: {image_url or 'https://example.com/roboi.jpg'}
|
|
|
|
| 99 |
"""
|
| 100 |
|
| 101 |
# Detailed description
|