Spaces:
Runtime error
Runtime error
ivan-savchuk
commited on
Commit
Β·
63ffd0c
1
Parent(s):
09f0fe7
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ if __name__ == "__main__":
|
|
84 |
# and url to the full answer
|
85 |
url = results[0]["url"]
|
86 |
# then we display it
|
87 |
-
st.markdown(f"{doc}\n[<span style=\"color:
|
88 |
|
89 |
# answer starts with header
|
90 |
st.subheader(f"Answer 2")
|
@@ -93,7 +93,7 @@ if __name__ == "__main__":
|
|
93 |
# and url to the full answer
|
94 |
url = results[1]["url"]
|
95 |
# then we display it
|
96 |
-
st.markdown(f"{doc}\n[<span style=\"color:
|
97 |
|
98 |
# answer starts with header
|
99 |
st.subheader(f"Answer 3")
|
@@ -102,7 +102,7 @@ if __name__ == "__main__":
|
|
102 |
# and url to the full answer
|
103 |
url = results[2]["url"]
|
104 |
# then we display it
|
105 |
-
st.markdown(f"{doc}\n[<span style=\"color:
|
106 |
|
107 |
# answer starts with header
|
108 |
st.subheader(f"Answer 4")
|
@@ -111,7 +111,7 @@ if __name__ == "__main__":
|
|
111 |
# and url to the full answer
|
112 |
url = results[3]["url"]
|
113 |
# then we display it
|
114 |
-
st.markdown(f"{doc}\n[<span style=\"color:
|
115 |
|
116 |
# answer starts with header
|
117 |
st.subheader(f"Answer 5")
|
@@ -120,7 +120,7 @@ if __name__ == "__main__":
|
|
120 |
# and url to the full answer
|
121 |
url = results[4]["url"]
|
122 |
# then we display it
|
123 |
-
st.markdown(f"{doc}\n[<span style=\"color:
|
124 |
|
125 |
st.markdown("---")
|
126 |
st.markdown("Author: Ivan Savchuk. 2022")
|
|
|
84 |
# and url to the full answer
|
85 |
url = results[0]["url"]
|
86 |
# then we display it
|
87 |
+
st.markdown(f"{doc}\n[<span style=\"color:Blue\">**Read More**</span>]({url})\n")
|
88 |
|
89 |
# answer starts with header
|
90 |
st.subheader(f"Answer 2")
|
|
|
93 |
# and url to the full answer
|
94 |
url = results[1]["url"]
|
95 |
# then we display it
|
96 |
+
st.markdown(f"{doc}\n[<span style=\"color:Blue\">**Read More**</span>]({url})\n")
|
97 |
|
98 |
# answer starts with header
|
99 |
st.subheader(f"Answer 3")
|
|
|
102 |
# and url to the full answer
|
103 |
url = results[2]["url"]
|
104 |
# then we display it
|
105 |
+
st.markdown(f"{doc}\n[<span style=\"color:Blue\">**Read More**</span>]({url})\n")
|
106 |
|
107 |
# answer starts with header
|
108 |
st.subheader(f"Answer 4")
|
|
|
111 |
# and url to the full answer
|
112 |
url = results[3]["url"]
|
113 |
# then we display it
|
114 |
+
st.markdown(f"{doc}\n[<span style=\"color:Blue\">**Read More**</span>]({url})\n")
|
115 |
|
116 |
# answer starts with header
|
117 |
st.subheader(f"Answer 5")
|
|
|
120 |
# and url to the full answer
|
121 |
url = results[4]["url"]
|
122 |
# then we display it
|
123 |
+
st.markdown(f"{doc}\n[<span style=\"color:Blue\">**Read More**</span>]({url})\n")
|
124 |
|
125 |
st.markdown("---")
|
126 |
st.markdown("Author: Ivan Savchuk. 2022")
|