Spaces:
Runtime error
Runtime error
Update app.py
Browse files44 unmodified lines454647484950515244 unmodified linestrue_sentiment = selected_df['actual_sentiments']true_doubles = pd.DataFrame(list(map(list, zip(ast.literal_eval(true_aspect), ast.literal_eval(true_sentiment)))),columns=['Aspect','Sentiment'])else:#true_doubles = pd.DataFrame([["NA","NA"]],columns=['Aspect','Sentiment'])true_doubles = ""bos_instruction = """Definition: The output will be the aspects (both implicit and explicit) and the aspects sentiment polarity. In cases where there are no aspects the output should be noaspectterm:none.Positive example 1-44 unmodified lines4546474849505144 unmodified linestrue_sentiment = selected_df['actual_sentiments']true_doubles = pd.DataFrame(list(map(list, zip(ast.literal_eval(true_aspect), ast.literal_eval(true_sentiment)))),columns=['Aspect','Sentiment'])else:true_doubles = pd.DataFrame([["NA","NA"]],columns=['Aspect','Sentiment'])bos_instruction = """Definition: The output will be the aspects (both implicit and explicit) and the aspects sentiment polarity. In cases where there are no aspects the output should be noaspectterm:none.Positive example 1-
app.py+1-2