Spaces:
Build error
Build error
Commit ·
a20ddb1
1
Parent(s): a4e1b78
updated pom file
Browse files
app.py
CHANGED
|
@@ -102,6 +102,26 @@ elif genre==radioButtonList[4]:
|
|
| 102 |
isCustomURL = genre==radioButtonList[4]
|
| 103 |
urlInput = st.text_input('Enter your own URL', '', placeholder="Type your URL here (e.g. https://abc.xyz/investor/)", disabled=not isCustomURL)
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
isCustomPDF = genre==radioButtonList[1] or genre==radioButtonList[2]
|
| 106 |
uploaded_file = st.file_uploader(f"Upload your own {pdfCSVURLText} here", type=pdfCSVURLText.lower(), disabled=not isCustomPDF)
|
| 107 |
uploadedFilename = ""
|
|
|
|
| 102 |
isCustomURL = genre==radioButtonList[4]
|
| 103 |
urlInput = st.text_input('Enter your own URL', '', placeholder="Type your URL here (e.g. https://abc.xyz/investor/)", disabled=not isCustomURL)
|
| 104 |
|
| 105 |
+
# Add some designs to the text input
|
| 106 |
+
st.markdown("""
|
| 107 |
+
<style>
|
| 108 |
+
.stTextInput {
|
| 109 |
+
padding: 10px;
|
| 110 |
+
border-radius: 5px;
|
| 111 |
+
background-color: #f5f5f5;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.stTextInput input {
|
| 115 |
+
font-size: 16px;
|
| 116 |
+
color: #333;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.stTextInput:focus {
|
| 120 |
+
outline: none;
|
| 121 |
+
}
|
| 122 |
+
</style>
|
| 123 |
+
""", unsafe_allow_html=True)
|
| 124 |
+
|
| 125 |
isCustomPDF = genre==radioButtonList[1] or genre==radioButtonList[2]
|
| 126 |
uploaded_file = st.file_uploader(f"Upload your own {pdfCSVURLText} here", type=pdfCSVURLText.lower(), disabled=not isCustomPDF)
|
| 127 |
uploadedFilename = ""
|