Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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
|