Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def get_vastu_advice(question, image_path):
|
|
| 7 |
# Open the image file and prepare for upload
|
| 8 |
with open(image_path, 'rb') as image_file:
|
| 9 |
files = {'image_path': image_file}
|
| 10 |
-
data = {'question': question}
|
| 11 |
|
| 12 |
response = requests.post(API_URL, files=files, data=data)
|
| 13 |
|
|
|
|
| 7 |
# Open the image file and prepare for upload
|
| 8 |
with open(image_path, 'rb') as image_file:
|
| 9 |
files = {'image_path': image_file}
|
| 10 |
+
data = {'question': question, 'session_id': "Ab-5654654"}
|
| 11 |
|
| 12 |
response = requests.post(API_URL, files=files, data=data)
|
| 13 |
|