Update app.py
Browse files
app.py
CHANGED
|
@@ -103,12 +103,14 @@ with gr.Blocks() as demo:
|
|
| 103 |
output = gr.Textbox(label="Output Box", style={"height": "100px", "margin-top": "20px"})
|
| 104 |
chatbot = gr.Chatbot(height=240, placeholder="Ask me anything...", style={"margin-top": "20px"})
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
|
|
|
|
|
|
| 112 |
|
| 113 |
|
| 114 |
# Event handler for uploading a PDF
|
|
|
|
| 103 |
output = gr.Textbox(label="Output Box", style={"height": "100px", "margin-top": "20px"})
|
| 104 |
chatbot = gr.Chatbot(height=240, placeholder="Ask me anything...", style={"margin-top": "20px"})
|
| 105 |
|
| 106 |
+
with gr.Row(style={"margin-top": "20px"}):
|
| 107 |
+
with gr.Column(scale=0.70):
|
| 108 |
+
# Styled Textbox
|
| 109 |
+
txt = gr.Textbox(
|
| 110 |
+
show_label=False,
|
| 111 |
+
placeholder="Enter a question",
|
| 112 |
+
style={"width": "100%", "height": "100px", "margin-bottom": "10px"}
|
| 113 |
+
)
|
| 114 |
|
| 115 |
|
| 116 |
# Event handler for uploading a PDF
|