Spaces:
Runtime error
Runtime error
add application files
Browse files
app.py
CHANGED
@@ -53,8 +53,8 @@ with gr.Blocks(css=custom_css) as interface:
|
|
53 |
|
54 |
# Use Row to align input and button horizontally
|
55 |
with gr.Row():
|
56 |
-
user_input = gr.Textbox(show_label=False, placeholder="Enter your law question here... βοΈ",
|
57 |
-
send_button = gr.Button("π€ Send", full_width=False
|
58 |
|
59 |
# Chat update function to append new messages to the chatbot
|
60 |
def chat_update(user_message, history):
|
@@ -68,4 +68,3 @@ with gr.Blocks(css=custom_css) as interface:
|
|
68 |
|
69 |
# Launch the Gradio interface with a public shareable link
|
70 |
interface.launch()
|
71 |
-
|
|
|
53 |
|
54 |
# Use Row to align input and button horizontally
|
55 |
with gr.Row():
|
56 |
+
user_input = gr.Textbox(show_label=False, placeholder="Enter your law question here... βοΈ", container=True)
|
57 |
+
send_button = gr.Button("π€ Send", full_width=False)
|
58 |
|
59 |
# Chat update function to append new messages to the chatbot
|
60 |
def chat_update(user_message, history):
|
|
|
68 |
|
69 |
# Launch the Gradio interface with a public shareable link
|
70 |
interface.launch()
|
|