Spaces:
Runtime error
Runtime error
jmaciejowski
commited on
Commit
•
b67c3c1
1
Parent(s):
91e4ae1
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def gradio_stocknews(source_ch, art_number):
|
|
117 |
first_5_articles.loc[art_number-1, 'topic'] = lda_topic_modeling(article_text)[0]
|
118 |
|
119 |
|
120 |
-
return first_5_articles.loc[art_number-1, 'headline'], first_5_articles.loc[art_number-1, 'url'], first_5_articles.loc[art_number-1, 'summary'], first_5_articles.loc[art_number-1, 'sentiment'], first_5_articles.loc[art_number-1, 'topic']
|
121 |
|
122 |
def main():
|
123 |
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
|
|
117 |
first_5_articles.loc[art_number-1, 'topic'] = lda_topic_modeling(article_text)[0]
|
118 |
|
119 |
|
120 |
+
return first_5_articles.loc[art_number-1, 'headline'], first_5_articles.loc[art_number-1, 'url'], first_5_articles.loc[art_number-1, 'summary'], first_5_articles.loc[art_number-1, 'sentiment'], first_5_articles.loc[art_number-1, 'topic'], "NLP_A2_Poster.jpg"
|
121 |
|
122 |
def main():
|
123 |
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|