Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
·
8a56afd
1
Parent(s):
67958ca
remove parent gr.Column and adjust scale of elements (textbox, uploadbutton, downloadbutton)
Browse files
app.py
CHANGED
@@ -156,11 +156,9 @@ with gr.Blocks(css=css) as demo:
|
|
156 |
with gr.Row():
|
157 |
with gr.Column(scale=1):
|
158 |
with gr.Row():
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
u = gr.UploadButton("Upload a file", file_count="single")
|
163 |
-
d = gr.DownloadButton("Download the file", visible=False)
|
164 |
with gr.Row():
|
165 |
with gr.Column(scale=1):
|
166 |
document = gr.Textbox(label="Document")
|
|
|
156 |
with gr.Row():
|
157 |
with gr.Column(scale=1):
|
158 |
with gr.Row():
|
159 |
+
question = gr.Textbox(label="Question", scale=4)
|
160 |
+
u = gr.UploadButton("Upload question", file_count="single", scale=1)
|
161 |
+
d = gr.DownloadButton("Download the file", visible=False, scale=1)
|
|
|
|
|
162 |
with gr.Row():
|
163 |
with gr.Column(scale=1):
|
164 |
document = gr.Textbox(label="Document")
|