aakash0563 commited on
Commit
4dfc3a9
1 Parent(s): 6e95f9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,16 +1,16 @@
1
  import gradio as gr
2
- import query
3
- import upload_pdf
4
 
5
  import gradio as gr
6
 
7
  def select_action(upload_pdf, query_question):
8
  if upload_pdf:
9
  # Implement code for handling PDF upload
10
- return "PDF upload selected"
11
  elif query_question:
12
  # Implement code for handling question query
13
- return "Question query selected"
14
  else:
15
  return "Please select at least one action."
16
 
 
1
  import gradio as gr
2
+
3
+
4
 
5
  import gradio as gr
6
 
7
  def select_action(upload_pdf, query_question):
8
  if upload_pdf:
9
  # Implement code for handling PDF upload
10
+ return import upload_pdf
11
  elif query_question:
12
  # Implement code for handling question query
13
+ return import query
14
  else:
15
  return "Please select at least one action."
16