Cachoups commited on
Commit
5000b73
1 Parent(s): 4c6738a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -651,7 +651,7 @@ with gr.Blocks(theme='gradio/soft',js=js_func) as demo:
651
  with gr.Tab("Fed data analysis"):
652
  gr.Markdown("## Sentiment Analysis Overview")
653
  # Display DataFrame
654
- df = pd.read_csv("data/2008_2024_minutes.csv", header = 0)
655
  df['Total_paragraphs']=df['Total_paragraphs']-df['Neutral']
656
  df['Positive_ratio'] = df['Positive'] / df['Total_paragraphs']*100
657
  df['Negative_ratio'] = df['Negative'] / df['Total_paragraphs']*100
 
651
  with gr.Tab("Fed data analysis"):
652
  gr.Markdown("## Sentiment Analysis Overview")
653
  # Display DataFrame
654
+ df = pd.read_csv("data/2008_2024_minutes_corrected.csv", header = 0)
655
  df['Total_paragraphs']=df['Total_paragraphs']-df['Neutral']
656
  df['Positive_ratio'] = df['Positive'] / df['Total_paragraphs']*100
657
  df['Negative_ratio'] = df['Negative'] / df['Total_paragraphs']*100