Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,29 +85,29 @@ def user_input(user_question):
|
|
85 |
|
86 |
|
87 |
#steamlit interface
|
88 |
-
def main():
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
|
112 |
#st.set_page_config("Chat PDF")
|
113 |
st.header("Chat with PDF π")
|
|
|
85 |
|
86 |
|
87 |
#steamlit interface
|
88 |
+
# def main():
|
89 |
+
# titleimg = "wp2856135.gif"
|
90 |
+
|
91 |
+
# # impliment background formating
|
92 |
+
# def set_bg_hack(main_bg):
|
93 |
+
# # set bg name
|
94 |
+
# main_bg_ext = "gif"
|
95 |
+
# st.markdown(
|
96 |
+
# f"""
|
97 |
+
# <style>
|
98 |
+
# .stApp {{
|
99 |
+
# background: url(data:image/{main_bg_ext};base64,{base64.b64encode(open(main_bg, "rb").read()).decode()});
|
100 |
+
# background-repeat: no-repeat;
|
101 |
+
# background-position: right 50% bottom 95% ;
|
102 |
+
# background-size: cover;
|
103 |
+
# background-attachment: scroll;
|
104 |
+
# }}
|
105 |
+
# </style>
|
106 |
+
# """,
|
107 |
+
# unsafe_allow_html=True,
|
108 |
+
# )
|
109 |
+
|
110 |
+
# set_bg_hack(titleimg)
|
111 |
|
112 |
#st.set_page_config("Chat PDF")
|
113 |
st.header("Chat with PDF π")
|