Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,6 +87,7 @@ def openai_response(ocr_input):
|
|
87 |
stop=["\n"],
|
88 |
)
|
89 |
resp = response["choices"][0]["text"]
|
|
|
90 |
resp = eval(resp.replace("'{", "{").replace("}'", "}"))
|
91 |
resp["input"] = ocr_input
|
92 |
dict_keys = [
|
|
|
87 |
stop=["\n"],
|
88 |
)
|
89 |
resp = response["choices"][0]["text"]
|
90 |
+
print(resp)
|
91 |
resp = eval(resp.replace("'{", "{").replace("}'", "}"))
|
92 |
resp["input"] = ocr_input
|
93 |
dict_keys = [
|