merve HF staff commited on
Commit
31c4737
1 Parent(s): 46b1434

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def openai_response(ocr_input):
122
  """
123
 
124
  openai_client = OpenAI_API()
125
- response = openai_client.single_request(ocr_input)
126
  resp = response["choices"][0]["text"]
127
  print(resp)
128
  resp = eval(resp.replace("'{", "{").replace("}'", "}"))
 
122
  """
123
 
124
  openai_client = OpenAI_API()
125
+ response = openai_client.single_request(prompt)
126
  resp = response["choices"][0]["text"]
127
  print(resp)
128
  resp = eval(resp.replace("'{", "{").replace("}'", "}"))