Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def text_to_speech(text):
|
|
| 43 |
|
| 44 |
# Funci贸n para manejar la encuesta din谩mica
|
| 45 |
def encuesta_asistente():
|
| 46 |
-
st.title("Asistente
|
| 47 |
st.write("Este asistente te guiar谩 a trav茅s de una serie de preguntas para ayudarte a configurar tu asistente virtual")
|
| 48 |
|
| 49 |
preguntas = [
|
|
@@ -166,7 +166,8 @@ def generar_documento():
|
|
| 166 |
label="Descargar Archivo",
|
| 167 |
data=file,
|
| 168 |
file_name="resultado_encuesta.docx",
|
| 169 |
-
mime="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
|
| 170 |
)
|
| 171 |
|
| 172 |
# Funci贸n para incrustar video en la p谩gina principal
|
|
@@ -193,22 +194,14 @@ st.markdown(
|
|
| 193 |
color: #FFFFFF;
|
| 194 |
font-weight: bold;
|
| 195 |
}
|
| 196 |
-
.big-button {
|
| 197 |
-
font-size: 20px;
|
| 198 |
-
padding:
|
| 199 |
-
background-color: #007bff;
|
| 200 |
-
color: white !important;
|
| 201 |
-
border: none;
|
| 202 |
-
text-align: center;
|
| 203 |
-
display: block;
|
| 204 |
-
margin: 20px auto;
|
| 205 |
-
width: 200px;
|
| 206 |
-
cursor: pointer;
|
| 207 |
-
text-decoration: none;
|
| 208 |
-
}
|
| 209 |
-
.stButton button {
|
| 210 |
-
color: white !important;
|
| 211 |
background-color: #007bff !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
}
|
| 213 |
.stTextInput input {
|
| 214 |
color: black !important;
|
|
@@ -263,3 +256,4 @@ def main():
|
|
| 263 |
|
| 264 |
if __name__ == "__main__":
|
| 265 |
main()
|
|
|
|
|
|
| 43 |
|
| 44 |
# Funci贸n para manejar la encuesta din谩mica
|
| 45 |
def encuesta_asistente():
|
| 46 |
+
st.title("Asistente Boti Encuesta")
|
| 47 |
st.write("Este asistente te guiar谩 a trav茅s de una serie de preguntas para ayudarte a configurar tu asistente virtual")
|
| 48 |
|
| 49 |
preguntas = [
|
|
|
|
| 166 |
label="Descargar Archivo",
|
| 167 |
data=file,
|
| 168 |
file_name="resultado_encuesta.docx",
|
| 169 |
+
mime="application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
| 170 |
+
key="btn_descargar_archivo"
|
| 171 |
)
|
| 172 |
|
| 173 |
# Funci贸n para incrustar video en la p谩gina principal
|
|
|
|
| 194 |
color: #FFFFFF;
|
| 195 |
font-weight: bold;
|
| 196 |
}
|
| 197 |
+
.big-button, .stButton button {
|
| 198 |
+
font-size: 20px !important;
|
| 199 |
+
padding: 10px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
background-color: #007bff !important;
|
| 201 |
+
color: white !important;
|
| 202 |
+
border: none !important;
|
| 203 |
+
text-align: center !important;
|
| 204 |
+
cursor: pointer !important;
|
| 205 |
}
|
| 206 |
.stTextInput input {
|
| 207 |
color: black !important;
|
|
|
|
| 256 |
|
| 257 |
if __name__ == "__main__":
|
| 258 |
main()
|
| 259 |
+
|