Spaces:
Runtime error
Runtime error
shubh2014shiv
commited on
Commit
•
7c4b607
1
Parent(s):
1f24c11
Update app.py
Browse filesUpdated the smaller subset of Japanese news articles for faster loading
app.py
CHANGED
@@ -220,7 +220,7 @@ elif topic == "Text Summarization":
|
|
220 |
"<h3 style='text-align: center; color:#F63366; font-size:18px;'><b>Japanese News Article Data<b></h3>",
|
221 |
unsafe_allow_html=True)
|
222 |
|
223 |
-
news_articles = pd.read_csv("
|
224 |
random_state=42)
|
225 |
gb = GridOptionsBuilder.from_dataframe(news_articles)
|
226 |
gb.configure_pagination()
|
|
|
220 |
"<h3 style='text-align: center; color:#F63366; font-size:18px;'><b>Japanese News Article Data<b></h3>",
|
221 |
unsafe_allow_html=True)
|
222 |
|
223 |
+
news_articles = pd.read_csv("jp_news_articles_val.csv").sample(frac=0.75,
|
224 |
random_state=42)
|
225 |
gb = GridOptionsBuilder.from_dataframe(news_articles)
|
226 |
gb.configure_pagination()
|