MVPilgrim commited on
Commit
366169d
·
1 Parent(s): c0a9876
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -456,7 +456,8 @@ try:
456
  #echo=echoVal,
457
  #stop=stop,
458
  )
459
- result = modelOutput["choices"][0]["text"].strip()
 
460
  logger.info(f"### llmResult: {result}")
461
  logger.info("### runLLM exited.")
462
  return result
@@ -500,8 +501,8 @@ try:
500
  logger.info(f"userpTAtext: {st.session_state.userpTA}")
501
 
502
  #st.session_state.rspTAtext = runLLM(st.session_state.userpTAtext)
503
- rspList = runLLM(wrkList)
504
- st.session_state.rspTA = str(rspList)
505
  logger.info(f"rspTAtext: {st.session_state.rspTAtext}")
506
 
507
  logger.info("### on_submitButton_clicked exited.")
 
456
  #echo=echoVal,
457
  #stop=stop,
458
  )
459
+ #result = modelOutput["choices"][0]["text"].strip()
460
+ result = str(modelOutput)
461
  logger.info(f"### llmResult: {result}")
462
  logger.info("### runLLM exited.")
463
  return result
 
501
  logger.info(f"userpTAtext: {st.session_state.userpTA}")
502
 
503
  #st.session_state.rspTAtext = runLLM(st.session_state.userpTAtext)
504
+ rsp = runLLM(wrkList)
505
+ st.session_state.rspTA = rsp
506
  logger.info(f"rspTAtext: {st.session_state.rspTAtext}")
507
 
508
  logger.info("### on_submitButton_clicked exited.")