Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
simpx committed Mar 18, 2023
1 parent c647e49 commit 910cdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def parse_pdf(prompt, pdfs, system_message, key_txt, url_txt, model, temperature
full_text = text + "\n----------\n"
messages = [
{"role": "system", "content": system_message},
{"role": "user", "content": prompt + "\n\n###\n\n + full_text"}
{"role": "user", "content": prompt + "\n\n###\n\n " + full_text}
]
openai.api_key = key_txt if key_txt else api_key_from_config
if url_txt:
Expand Down

0 comments on commit 910cdd4

Please sign in to comment.