update app.py
Browse files
app.py
CHANGED
@@ -90,17 +90,18 @@ demo = gr.Interface(
|
|
90 |
inputs=[gr.inputs.Number(label="User ID"), gr.inputs.Checkbox(label="Drama"), gr.inputs.Checkbox(label="Comedy"), gr.inputs.Checkbox(label="Horror"), gr.inputs.Checkbox(label="Romance"), gr.inputs.Number(label="Top")],
|
91 |
outputs=[gr.outputs.Textbox(), gr.outputs.Image(type='pil')],
|
92 |
title = '<h1 style="text-align: center; color: #FF6347;">STREAMREC</h1>',
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
|
|
104 |
|
105 |
allow_flagging='auto',
|
106 |
theme="huggingface", # establece un tema predefinido
|
|
|
90 |
inputs=[gr.inputs.Number(label="User ID"), gr.inputs.Checkbox(label="Drama"), gr.inputs.Checkbox(label="Comedy"), gr.inputs.Checkbox(label="Horror"), gr.inputs.Checkbox(label="Romance"), gr.inputs.Number(label="Top")],
|
91 |
outputs=[gr.outputs.Textbox(), gr.outputs.Image(type='pil')],
|
92 |
title = '<h1 style="text-align: center; color: #FF6347;">STREAMREC</h1>',
|
93 |
+
description = """
|
94 |
+
<p>
|
95 |
+
<center>
|
96 |
+
<font size="4" face="Arial" color="white">
|
97 |
+
Sistema de Recomendaciones Personalizadas de Películas y Series
|
98 |
+
</font>
|
99 |
+
<p><b style="color: #DC143C;">Advertencia: Ingresa el ID del usuario (user_id), selecciona los géneros de interés y la cantidad de recomendaciones que te gustaría generar.
|
100 |
+
Te mostraremos algunas películas que pueden gustarte.</b></p>
|
101 |
+
<img src="https://i.pinimg.com/564x/18/51/c8/1851c8a1adbf68564f3a29e1c5c602a0.jpg" alt="logo" width="250"/>
|
102 |
+
</center>
|
103 |
+
</p>
|
104 |
+
""",
|
105 |
|
106 |
allow_flagging='auto',
|
107 |
theme="huggingface", # establece un tema predefinido
|