Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
·
67958ca
1
Parent(s):
4685c47
get rid of additional 'gr.Row()' parent and change scale ratio to 9:1 from 4:1
Browse files
app.py
CHANGED
@@ -156,13 +156,11 @@ with gr.Blocks(css=css) as demo:
|
|
156 |
with gr.Row():
|
157 |
with gr.Column(scale=1):
|
158 |
with gr.Row():
|
159 |
-
with gr.Column(scale=
|
160 |
question = gr.Textbox(label="Question")
|
161 |
with gr.Column(scale=1):
|
162 |
-
|
163 |
-
|
164 |
-
with gr.Row():
|
165 |
-
d = gr.DownloadButton("Download the file", visible=False)
|
166 |
with gr.Row():
|
167 |
with gr.Column(scale=1):
|
168 |
document = gr.Textbox(label="Document")
|
|
|
156 |
with gr.Row():
|
157 |
with gr.Column(scale=1):
|
158 |
with gr.Row():
|
159 |
+
with gr.Column(scale=9):
|
160 |
question = gr.Textbox(label="Question")
|
161 |
with gr.Column(scale=1):
|
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")
|