mertcobanov commited on
Commit
56e16a2
2 Parent(s): f66b5f5 31c4737

Merge branch 'main' into seperate_gui

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def openai_response(ocr_input):
55
  """
56
 
57
  openai_client = OpenAI_API()
58
- response = openai_client.single_request(ocr_input)
59
  resp = response["choices"][0]["text"]
60
  print(resp)
61
  resp = eval(resp.replace("'{", "{").replace("}'", "}"))
 
55
  """
56
 
57
  openai_client = OpenAI_API()
58
+ response = openai_client.single_request(prompt)
59
  resp = response["choices"][0]["text"]
60
  print(resp)
61
  resp = eval(resp.replace("'{", "{").replace("}'", "}"))