Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,11 +92,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 92 |
with gr.Row():
|
| 93 |
dark_mode = gr.Checkbox(label="π Toggle light/dark mode")
|
| 94 |
|
| 95 |
-
with gr.
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
upload_button = gr.Button("π Upload File")
|
| 100 |
|
| 101 |
status_output = gr.Textbox(label="Status", interactive=False)
|
| 102 |
|
|
|
|
| 92 |
with gr.Row():
|
| 93 |
dark_mode = gr.Checkbox(label="π Toggle light/dark mode")
|
| 94 |
|
| 95 |
+
with gr.Column(): # β
Replace `gr.Box()` with `gr.Column()`
|
| 96 |
+
gr.Markdown("Hello there! I'm your friendly data assistant, ready to answer any questions regarding your data. Could you please upload a PDF file for me to analyze?")
|
| 97 |
+
file_input = gr.File(label="Upload File")
|
| 98 |
+
upload_button = gr.Button("π Upload File")
|
|
|
|
| 99 |
|
| 100 |
status_output = gr.Textbox(label="Status", interactive=False)
|
| 101 |
|