fffiloni commited on
Commit
90e7fa2
β€’
1 Parent(s): e844d1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -54,14 +54,15 @@ title = """
54
  """
55
 
56
 
57
- with gr.Blocks() as demo:
58
  with gr.Column(elem_id="col-container"):
59
  gr.HTML(title)
60
 
61
- with gr.Row():
62
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
63
- langchain_status = gr.Textbox(label="Status")
64
- load_pdf = gr.Button("Load pdf to langchain")
 
65
 
66
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
67
  with gr.Row():
 
54
  """
55
 
56
 
57
+ with gr.Blocks(css=css) as demo:
58
  with gr.Column(elem_id="col-container"):
59
  gr.HTML(title)
60
 
61
+ with gr.Column():
62
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
63
+ with gr.Row():
64
+ langchain_status = gr.Textbox(label="Status")
65
+ load_pdf = gr.Button("Load pdf to langchain")
66
 
67
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
68
  with gr.Row():