Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from sentence_transformers import SentenceTransformer
|
|
6 |
from vector_engine.utils import vector_search
|
7 |
|
8 |
@st.cache_data
|
9 |
-
def read_data(pibdata="
|
10 |
"""Read the pib data."""
|
11 |
return pd.read_csv(pibdata)
|
12 |
|
@@ -57,7 +57,8 @@ def main():
|
|
57 |
st.write(
|
58 |
f"""
|
59 |
**Language**: {f.iloc[0].language}
|
60 |
-
{f.iloc[0].body}
|
|
|
61 |
"""
|
62 |
)
|
63 |
|
|
|
6 |
from vector_engine.utils import vector_search
|
7 |
|
8 |
@st.cache_data
|
9 |
+
def read_data(pibdata="pib2022_23_cleaned_abs.csv"):
|
10 |
"""Read the pib data."""
|
11 |
return pd.read_csv(pibdata)
|
12 |
|
|
|
57 |
st.write(
|
58 |
f"""
|
59 |
**Language**: {f.iloc[0].language}
|
60 |
+
**Article**: {f.iloc[0].body}
|
61 |
+
**read at : ** : [Link]("https://pib.gov.in/PressReleasePage.aspx?PRID="+{f.iloc[0].rid})
|
62 |
"""
|
63 |
)
|
64 |
|