Spaces:
Runtime error
Runtime error
Commit
·
20f6840
1
Parent(s):
21fd28f
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ openai.api_key = "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"
|
|
18 |
st.markdown(
|
19 |
"""
|
20 |
<style>
|
|
|
21 |
body {
|
22 |
background-color: transparent;
|
23 |
}
|
@@ -34,6 +35,7 @@ st.markdown(
|
|
34 |
}
|
35 |
.stText, .stMarkdown, .stTextInput>label, .stButton>button>span {
|
36 |
color: #1c1c1c !important; /* Set the dark text color for text elements */
|
|
|
37 |
}
|
38 |
.stButton>button>span {
|
39 |
color: initial !important; /* Reset the text color for the 'Generate Caption' button */
|
@@ -45,6 +47,9 @@ st.markdown(
|
|
45 |
padding: 10px; /* Add padding to the headers */
|
46 |
border-radius: 5px; /* Add border-radius to the headers */
|
47 |
}
|
|
|
|
|
|
|
48 |
</style>
|
49 |
""",
|
50 |
unsafe_allow_html=True,
|
|
|
18 |
st.markdown(
|
19 |
"""
|
20 |
<style>
|
21 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
|
22 |
body {
|
23 |
background-color: transparent;
|
24 |
}
|
|
|
35 |
}
|
36 |
.stText, .stMarkdown, .stTextInput>label, .stButton>button>span {
|
37 |
color: #1c1c1c !important; /* Set the dark text color for text elements */
|
38 |
+
font-family: 'Roboto Mono', monospace;
|
39 |
}
|
40 |
.stButton>button>span {
|
41 |
color: initial !important; /* Reset the text color for the 'Generate Caption' button */
|
|
|
47 |
padding: 10px; /* Add padding to the headers */
|
48 |
border-radius: 5px; /* Add border-radius to the headers */
|
49 |
}
|
50 |
+
.stMarkdown p {
|
51 |
+
font-family: 'Roboto Mono', monospace;
|
52 |
+
}
|
53 |
</style>
|
54 |
""",
|
55 |
unsafe_allow_html=True,
|