swamisharan commited on
Commit
756bcb7
·
verified ·
1 Parent(s): 3bd4f2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def chatbot(pdf_file, user_question):
59
  # Create Gradio Interface
60
  iface = gr.Interface(
61
  fn=chatbot,
62
- inputs=[gr.inputs.File(type="file", label="Upload your PDF"), gr.inputs.Textbox(lines=1, label="Ask a Question")],
63
  outputs="text",
64
  title="PDF Chatbot",
65
  description="Upload a PDF and ask questions about its content.",
 
59
  # Create Gradio Interface
60
  iface = gr.Interface(
61
  fn=chatbot,
62
+ inputs=[gr.File(type="file", label="Upload your PDF"), gr.Textbox(lines=1, label="Ask a Question")],
63
  outputs="text",
64
  title="PDF Chatbot",
65
  description="Upload a PDF and ask questions about its content.",