Skip to content

Commit

Permalink
Update actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaaihamza authored Mar 15, 2024
1 parent daeede6 commit 0e4a8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain) -> lis
# Generate recommendations
try:
df_recommendations = provide_recommendations(user_message_all, input_weight,THRESH=0.3, n=1000, unique_values_dict=unique_values_dict, BERT_weights=BERT_weights,n_module=n_module)
dataframe_json = df_recommendations.to_json(orient='split')
# dataframe_json = df_recommendations.to_json(orient='split')
except Exception as e:
# print(e)
dispatcher.utter_message("!! الرجاء المحاولة مرة أخرى")
Expand Down

0 comments on commit 0e4a8d5

Please sign in to comment.