Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,30 +13,30 @@ from langchain.callbacks import get_openai_callback
|
|
13 |
import os
|
14 |
|
15 |
|
16 |
-
# Define the custom CSS style for cloud-shaped buttons
|
17 |
cloud_button_style = """
|
18 |
<style>
|
19 |
.cloud-button {
|
20 |
display: inline-block;
|
21 |
-
padding:
|
22 |
font-size: 16px;
|
23 |
cursor: pointer;
|
24 |
text-align: center;
|
25 |
text-decoration: none;
|
26 |
outline: none;
|
27 |
color: #fff;
|
28 |
-
background-color: #
|
29 |
border: none;
|
30 |
-
border-radius:
|
31 |
-
box-shadow: 0
|
32 |
margin: 5px;
|
33 |
}
|
34 |
|
35 |
-
.cloud-button:hover {
|
|
|
|
|
36 |
|
37 |
.cloud-button:active {
|
38 |
-
|
39 |
-
box-shadow: 0 5px #666;
|
40 |
transform: translateY(4px);
|
41 |
}
|
42 |
</style>
|
@@ -55,7 +55,7 @@ repo = Repository(
|
|
55 |
repo.git_pull() # Pull the latest changes (if any)
|
56 |
|
57 |
# Step 2: Load the PDF File
|
58 |
-
pdf_file_path = "Private_Book/
|
59 |
|
60 |
with st.sidebar:
|
61 |
st.title('BinDoc GmbH')
|
|
|
13 |
import os
|
14 |
|
15 |
|
|
|
16 |
cloud_button_style = """
|
17 |
<style>
|
18 |
.cloud-button {
|
19 |
display: inline-block;
|
20 |
+
padding: 10px 20px;
|
21 |
font-size: 16px;
|
22 |
cursor: pointer;
|
23 |
text-align: center;
|
24 |
text-decoration: none;
|
25 |
outline: none;
|
26 |
color: #fff;
|
27 |
+
background-color: #add8e6;
|
28 |
border: none;
|
29 |
+
border-radius: 25px;
|
30 |
+
box-shadow: 0 8px 16px rgba(0,0,0,0.1), 0 16px 32px rgba(0,0,0,0.1), 0 24px 48px rgba(0,0,0,0.1), 0 32px 64px rgba(0,0,0,0.1);
|
31 |
margin: 5px;
|
32 |
}
|
33 |
|
34 |
+
.cloud-button:hover {
|
35 |
+
background-color: #9fced1;
|
36 |
+
}
|
37 |
|
38 |
.cloud-button:active {
|
39 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.1), 0 12px 24px rgba(0,0,0,0.1), 0 16px 32px rgba(0,0,0,0.1);
|
|
|
40 |
transform: translateY(4px);
|
41 |
}
|
42 |
</style>
|
|
|
55 |
repo.git_pull() # Pull the latest changes (if any)
|
56 |
|
57 |
# Step 2: Load the PDF File
|
58 |
+
pdf_file_path = "Private_Book/KOMBI_all2.pdf" # Replace with your PDF file path
|
59 |
|
60 |
with st.sidebar:
|
61 |
st.title('BinDoc GmbH')
|