alexkueck commited on
Commit
5aa4d07
1 Parent(s): 6868a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -398,6 +398,8 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
398
  result = response.content
399
  image = Image.open(io.BytesIO(result))
400
  history[-1][1] = image
 
 
401
  return history, "Stop: Success"
402
  else:
403
  print("OpenAI normal.......................")
 
398
  result = response.content
399
  image = Image.open(io.BytesIO(result))
400
  history[-1][1] = image
401
+ print("history......................")
402
+ print(history)
403
  return history, "Stop: Success"
404
  else:
405
  print("OpenAI normal.......................")