merve HF staff commited on
Commit
934c95a
1 Parent(s): f891e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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