Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -101,6 +101,9 @@ def openai_response(ocr_input):
|
|
101 |
'address',
|
102 |
'input',
|
103 |
]
|
|
|
|
|
|
|
104 |
return resp
|
105 |
|
106 |
|
|
|
101 |
'address',
|
102 |
'input',
|
103 |
]
|
104 |
+
for key in dict_keys:
|
105 |
+
if key not in resp.keys():
|
106 |
+
resp[key] = ''
|
107 |
return resp
|
108 |
|
109 |
|