Spaces:
Runtime error
Runtime error
Commit
·
8908b27
1
Parent(s):
20f6840
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,6 @@ from docx import Document
|
|
11 |
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT
|
12 |
from io import BytesIO
|
13 |
|
14 |
-
# Set up OpenAI API
|
15 |
-
openai.api_key = "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"
|
16 |
-
|
17 |
# Custom CSS for the page
|
18 |
st.markdown(
|
19 |
"""
|
@@ -50,6 +47,24 @@ st.markdown(
|
|
50 |
.stMarkdown p {
|
51 |
font-family: 'Roboto Mono', monospace;
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
</style>
|
54 |
""",
|
55 |
unsafe_allow_html=True,
|
|
|
11 |
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT
|
12 |
from io import BytesIO
|
13 |
|
|
|
|
|
|
|
14 |
# Custom CSS for the page
|
15 |
st.markdown(
|
16 |
"""
|
|
|
47 |
.stMarkdown p {
|
48 |
font-family: 'Roboto Mono', monospace;
|
49 |
}
|
50 |
+
|
51 |
+
/* Animations */
|
52 |
+
@keyframes fadeIn {
|
53 |
+
from {opacity: 0;}
|
54 |
+
to {opacity: 1;}
|
55 |
+
}
|
56 |
+
|
57 |
+
.stMarkdown h1 {
|
58 |
+
animation: fadeIn 1s linear 0s 1 normal forwards;
|
59 |
+
}
|
60 |
+
|
61 |
+
.stMarkdown h2 {
|
62 |
+
animation: fadeIn 1s linear 1s 1 normal forwards;
|
63 |
+
}
|
64 |
+
|
65 |
+
.stMarkdown p {
|
66 |
+
animation: fadeIn 1s linear 2s 1 normal forwards;
|
67 |
+
}
|
68 |
</style>
|
69 |
""",
|
70 |
unsafe_allow_html=True,
|