Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,19 +89,19 @@ with gr.Blocks() as demo:
|
|
89 |
with gr.Row():
|
90 |
chatbot = gr.Chatbot(
|
91 |
avatar_images=("🧑", "🤖"),
|
92 |
-
height=
|
93 |
)
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
|
106 |
submit.click(
|
107 |
add_content,
|
|
|
89 |
with gr.Row():
|
90 |
chatbot = gr.Chatbot(
|
91 |
avatar_images=("🧑", "🤖"),
|
92 |
+
height=550,
|
93 |
)
|
94 |
|
95 |
+
with gr.Row():
|
96 |
+
# Adding a Textbox with a placeholder "write prompt"
|
97 |
+
prompt = gr.Textbox(
|
98 |
+
placeholder="Ask anything", lines=2, label="Query", value=None, scale = 4
|
99 |
+
)
|
100 |
|
101 |
+
with gr.Row():
|
102 |
+
# Adding a Button
|
103 |
+
submit = gr.Button(value = "Submit", variant="primary")
|
104 |
+
clear = gr.Button(value="Clear")
|
105 |
|
106 |
submit.click(
|
107 |
add_content,
|