Chris4K commited on
Commit
bd374fd
·
1 Parent(s): b130955

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -268,9 +268,9 @@ def topic_sale_inform (text):
268
  ####
269
 
270
  def callChains(current_message):
271
- sentiment_analysis_result = pipeline_predict_sentiment(message)
272
- topic_sale_inform = topic_sale_inform(message)
273
- final_answer = pipeline_predict_chat(message)
274
  return final_answer, sentiment_analysis_result, topic_sale_inform
275
 
276
  chat_bot = gr.Interface(fn=callChains , inputs="textbox", outputs=["textbox","textbox","textbox"], title="Conversation Bot with extra")
 
268
  ####
269
 
270
  def callChains(current_message):
271
+ sentiment_analysis_result = pipeline_predict_sentiment(current_message)
272
+ topic_sale_inform = topic_sale_inform(current_message)
273
+ final_answer = pipeline_predict_chat(current_message)
274
  return final_answer, sentiment_analysis_result, topic_sale_inform
275
 
276
  chat_bot = gr.Interface(fn=callChains , inputs="textbox", outputs=["textbox","textbox","textbox"], title="Conversation Bot with extra")