Shriharsh commited on
Commit
8155db2
·
verified ·
1 Parent(s): cb97d73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -273,6 +273,9 @@ with gr.Blocks() as app:
273
  <br>
274
  """
275
  )
 
 
 
276
 
277
  # Input row for query and PDF file (with PDF box sized smaller)
278
  with gr.Row():
@@ -285,8 +288,6 @@ with gr.Blocks() as app:
285
  submit_button = gr.Button("Ask", variant="primary")
286
  clear_button = gr.Button("Clear")
287
 
288
- # Create a Chatbot component with type set to "messages" and a specified height
289
- chatbot = gr.Chatbot(label="Conversation", type="messages", height=370)
290
 
291
  # State to maintain conversation history
292
  state = gr.State([])
 
273
  <br>
274
  """
275
  )
276
+
277
+ # Create a Chatbot component with type set to "messages" and a specified height
278
+ chatbot = gr.Chatbot(label="Conversation", type="messages", height=370)
279
 
280
  # Input row for query and PDF file (with PDF box sized smaller)
281
  with gr.Row():
 
288
  submit_button = gr.Button("Ask", variant="primary")
289
  clear_button = gr.Button("Clear")
290
 
 
 
291
 
292
  # State to maintain conversation history
293
  state = gr.State([])