Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ image_gradio_app = gr.Interface(
|
|
59 |
inputs=gr.Image(label="Imágen", sources=['upload', 'webcam'], type="pil"),
|
60 |
outputs=[gr.Label(label="Clasificación")],
|
61 |
title=custom_title,
|
62 |
-
description="Carga una foto del objeto que quieras reciclar
|
63 |
theme=theme
|
64 |
)
|
65 |
|
@@ -69,6 +69,8 @@ def echo(message, history):
|
|
69 |
|
70 |
chatbot_gradio_app = gr.ChatInterface(
|
71 |
fn=echo,
|
|
|
|
|
72 |
title=custom_title,
|
73 |
description="Green Greta ChatBot está aquí para responder todas tus preguntas y ayudarte a tomar decisiones más informadas sobre tu reciclaje.",
|
74 |
theme=theme,
|
|
|
59 |
inputs=gr.Image(label="Imágen", sources=['upload', 'webcam'], type="pil"),
|
60 |
outputs=[gr.Label(label="Clasificación")],
|
61 |
title=custom_title,
|
62 |
+
description="Carga una foto del objeto que quieras reciclar y Green Greta identificará de qué se trata para que puedas desecharlo adecuadamente.",
|
63 |
theme=theme
|
64 |
)
|
65 |
|
|
|
69 |
|
70 |
chatbot_gradio_app = gr.ChatInterface(
|
71 |
fn=echo,
|
72 |
+
chatbot=gr.Chatbot(height=300),
|
73 |
+
textbox=gr.Textbox(placeholder="Hazme una pregunta sobre reciclaje...", scale=7),
|
74 |
title=custom_title,
|
75 |
description="Green Greta ChatBot está aquí para responder todas tus preguntas y ayudarte a tomar decisiones más informadas sobre tu reciclaje.",
|
76 |
theme=theme,
|