Spaces:
Build error
Build error
Update 01_π _Home.py
Browse files- 01_π _Home.py +1 -7
01_π _Home.py
CHANGED
@@ -13,12 +13,6 @@ from st_aggrid import GridOptionsBuilder, AgGrid, GridUpdateMode, DataReturnMode
|
|
13 |
from datasets import Dataset
|
14 |
from huggingface_hub import Repository
|
15 |
|
16 |
-
st.set_page_config(
|
17 |
-
page_title="Live FinTwitter Analysis",
|
18 |
-
page_icon="π",
|
19 |
-
layout="wide",
|
20 |
-
)
|
21 |
-
|
22 |
st.sidebar.header("Sentiment Analysis Score")
|
23 |
|
24 |
extract_time = dt.strftime(dt.today(),"%d_%B_%y_%H_%M")
|
@@ -30,7 +24,7 @@ DATA_FILE = os.path.join("data", DATA_FILENAME)
|
|
30 |
tweet_file = os.path.join("tweets", DATA_FILE)
|
31 |
|
32 |
repo = Repository(
|
33 |
-
local_dir="
|
34 |
)
|
35 |
|
36 |
st.title('Live FinTwitter Sentiment & Topic Analysis with Tweepy and Transformers')
|
|
|
13 |
from datasets import Dataset
|
14 |
from huggingface_hub import Repository
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
st.sidebar.header("Sentiment Analysis Score")
|
17 |
|
18 |
extract_time = dt.strftime(dt.today(),"%d_%B_%y_%H_%M")
|
|
|
24 |
tweet_file = os.path.join("tweets", DATA_FILE)
|
25 |
|
26 |
repo = Repository(
|
27 |
+
local_dir="output", clone_from=DATASET_REPO_URL
|
28 |
)
|
29 |
|
30 |
st.title('Live FinTwitter Sentiment & Topic Analysis with Tweepy and Transformers')
|