prernajeet01 commited on
Commit
26091fc
·
verified ·
1 Parent(s): 28c7af1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -301,7 +301,13 @@ def create_gradio_interface():
301
  with gr.Blocks(title="Amy - Your Audit Copilot") as demo:
302
  gr.Markdown("# Amy - Your Audit Copilot")
303
  gr.Markdown("I can help you with audit document analysis, compliance questions, and risk assessment.")
304
-
 
 
 
 
 
 
305
  with gr.Tab("Document Processing"):
306
  with gr.Row():
307
  file_input = gr.File(
@@ -311,12 +317,6 @@ def create_gradio_interface():
311
  upload_button = gr.Button("Process Documents")
312
  upload_output = gr.Textbox(label="Processing Status")
313
 
314
- with gr.Tab("Conversation"):
315
- # Chat section
316
- chatbot = gr.Chatbot(label="Conversation with Amy")
317
- msg = gr.Textbox(label="Ask me anything about your audit documents", placeholder="Type your question here...")
318
- clear = gr.Button("Clear Chat")
319
-
320
  with gr.Tab("Compliance Query"):
321
  with gr.Row():
322
  query_input = gr.Textbox(
 
301
  with gr.Blocks(title="Amy - Your Audit Copilot") as demo:
302
  gr.Markdown("# Amy - Your Audit Copilot")
303
  gr.Markdown("I can help you with audit document analysis, compliance questions, and risk assessment.")
304
+
305
+ with gr.Tab("Conversation"):
306
+ # Chat section
307
+ chatbot = gr.Chatbot(label="Conversation with Amy")
308
+ msg = gr.Textbox(label="Ask me anything about your IAASB documents", placeholder="Type your question here...")
309
+ clear = gr.Button("Clear Chat")
310
+
311
  with gr.Tab("Document Processing"):
312
  with gr.Row():
313
  file_input = gr.File(
 
317
  upload_button = gr.Button("Process Documents")
318
  upload_output = gr.Textbox(label="Processing Status")
319
 
 
 
 
 
 
 
320
  with gr.Tab("Compliance Query"):
321
  with gr.Row():
322
  query_input = gr.Textbox(