bugfix: title
Browse files
app.py
CHANGED
@@ -57,15 +57,11 @@ session_id_input = gr.Textbox(
|
|
57 |
placeholder="Ingresa el ID de tu sesion"
|
58 |
)
|
59 |
|
60 |
-
title_input = gr.Textbox(
|
61 |
-
label="Title"
|
62 |
-
)
|
63 |
-
|
64 |
def dynamic_examples():
|
65 |
examples = [
|
66 |
-
["Hola","
|
67 |
-
["Hola","
|
68 |
-
["Hola","
|
69 |
]
|
70 |
return examples
|
71 |
|
@@ -75,4 +71,3 @@ demo = gr.ChatInterface(fn=slow_api_response,
|
|
75 |
description="Esta app simula una conversación con un asistente virtual que conoce una propiedad.",
|
76 |
examples=dynamic_examples()
|
77 |
).launch()
|
78 |
-
|
|
|
57 |
placeholder="Ingresa el ID de tu sesion"
|
58 |
)
|
59 |
|
|
|
|
|
|
|
|
|
60 |
def dynamic_examples():
|
61 |
examples = [
|
62 |
+
["Hola","6072ef21835a01fee0f14ace35e5d814", generate_session_id()],
|
63 |
+
["Hola","db674f4a5bb6b696698f2ab5825d68dd", generate_session_id()],
|
64 |
+
["Hola","7ba0195e733b613efb3379af7cbd3613", generate_session_id()]
|
65 |
]
|
66 |
return examples
|
67 |
|
|
|
71 |
description="Esta app simula una conversación con un asistente virtual que conoce una propiedad.",
|
72 |
examples=dynamic_examples()
|
73 |
).launch()
|
|