Spaces:
Runtime error
Runtime error
Commit ·
c138a6c
1
Parent(s): 94aba10
Update app.py
Browse files
app.py
CHANGED
|
@@ -285,14 +285,14 @@ with gr.Blocks() as demo:
|
|
| 285 |
)
|
| 286 |
user_token.change(on_token_change, inputs=[user_token], outputs=[])
|
| 287 |
with gr.Tab("Summarise PDF"):
|
| 288 |
-
with
|
| 289 |
-
with
|
| 290 |
text1 = gr.Textbox()
|
| 291 |
text2 = gr.Textbox()
|
| 292 |
-
with
|
| 293 |
btn1 = gr.Button("Button 1")
|
| 294 |
btn2 = gr.Button("Button 2")
|
| 295 |
-
with
|
| 296 |
inp1 = gr.File(label="Input PDF")
|
| 297 |
chainType1 = gr.Radio(
|
| 298 |
["map_reduce", "stuff", "refine"], label="Chain_Type", value="map_reduce"
|
|
|
|
| 285 |
)
|
| 286 |
user_token.change(on_token_change, inputs=[user_token], outputs=[])
|
| 287 |
with gr.Tab("Summarise PDF"):
|
| 288 |
+
with gr.Row():
|
| 289 |
+
with gr.Column(scale=1):
|
| 290 |
text1 = gr.Textbox()
|
| 291 |
text2 = gr.Textbox()
|
| 292 |
+
with gr.Column(scale=4):
|
| 293 |
btn1 = gr.Button("Button 1")
|
| 294 |
btn2 = gr.Button("Button 2")
|
| 295 |
+
with gr.Row():
|
| 296 |
inp1 = gr.File(label="Input PDF")
|
| 297 |
chainType1 = gr.Radio(
|
| 298 |
["map_reduce", "stuff", "refine"], label="Chain_Type", value="map_reduce"
|