jackycedar commited on
Commit
c138a6c
·
1 Parent(s): 94aba10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 gradio.Row():
289
- with gradio.Column(scale=1):
290
  text1 = gr.Textbox()
291
  text2 = gr.Textbox()
292
- with gradio.Column(scale=4):
293
  btn1 = gr.Button("Button 1")
294
  btn2 = gr.Button("Button 2")
295
- with gradio.Row():
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"