alexkueck commited on
Commit
38b4a39
1 Parent(s): 4f54afb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -434,7 +434,7 @@ def generate_text (prompt, file, history, rag_option, model_option, openai_api_k
434
  if (file == None):
435
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
436
  else:
437
- prompt_neu = prompt + file.filepath, #b64encode(file).decode("utf-8")
438
  print(prompt_neu)
439
  history_text_und_prompt = generate_prompt_with_history_openai(prompt_neu, history)
440
 
 
434
  if (file == None):
435
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
436
  else:
437
+ prompt_neu = prompt + file.path, #b64encode(file).decode("utf-8")
438
  print(prompt_neu)
439
  history_text_und_prompt = generate_prompt_with_history_openai(prompt_neu, history)
440