Spaces:
Runtime error
Runtime error
ryanrahmadifa
commited on
Commit
·
9b047e4
1
Parent(s):
5a8bffa
Added more features.
Browse files
app.py
CHANGED
@@ -13,11 +13,11 @@ news_categories = st.multiselect("Select desired Market Movers categories",
|
|
13 |
["Macroeconomic & Geopolitics", "Crude Oil", "Light Ends", "Middle Distillates", "Heavy Distillates", "Other"],
|
14 |
["Macroeconomic & Geopolitics", "Crude Oil"])
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
#latest_news = prepare_df(pd.read_csv('data/results_platts_09082024_clean.csv'), news_categories)
|
23 |
#top_news = prepare_df(pd.read_csv('data/topresults_platts_09082024_clean.csv'), news_categories)
|
|
|
13 |
["Macroeconomic & Geopolitics", "Crude Oil", "Light Ends", "Middle Distillates", "Heavy Distillates", "Other"],
|
14 |
["Macroeconomic & Geopolitics", "Crude Oil"])
|
15 |
|
16 |
+
date_filter = st.slider(
|
17 |
+
"Date Filter",
|
18 |
+
value=(datetime(2024, 8, 4), datetime(2024,8,9)),
|
19 |
+
format="MM/DD/YY",
|
20 |
+
)
|
21 |
|
22 |
#latest_news = prepare_df(pd.read_csv('data/results_platts_09082024_clean.csv'), news_categories)
|
23 |
#top_news = prepare_df(pd.read_csv('data/topresults_platts_09082024_clean.csv'), news_categories)
|