Spaces:
Sleeping
Sleeping
App file loaded
Browse files
app.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from model import generate_recomendation
|
| 3 |
+
|
| 4 |
+
demo = gr.Interface(
|
| 5 |
+
fn=generate_recomendation,
|
| 6 |
+
inputs=["text","text"],
|
| 7 |
+
outputs="text",
|
| 8 |
+
title="Sistema de recomendación de películas basado en filtro colaborativo",
|
| 9 |
+
description="Ingresa el ID del usuario (user_id) y te mostraremos algunas películas que le pueden gustar.",
|
| 10 |
+
allow_flagging=False
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
demo.launch(share=True, server_port=5000)
|