Waseem771 commited on
Commit
534a594
1 Parent(s): 2d5d1c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def generate_response(pdf, query):
52
  # Gradio interface
53
  iface = gr.Interface(
54
  fn=generate_response,
55
- inputs=[gr.inputs.File(label="Upload PDF"), gr.inputs.Textbox(label="Ask a question")],
56
  outputs="text",
57
  title="PDF Question Answering with vi-gemma-2b-RAG",
58
  description="Upload a PDF and ask a question based on its content. The model will generate a response."
 
52
  # Gradio interface
53
  iface = gr.Interface(
54
  fn=generate_response,
55
+ inputs=[gr.File(label="Upload PDF"), gr.Textbox(label="Ask a question")],
56
  outputs="text",
57
  title="PDF Question Answering with vi-gemma-2b-RAG",
58
  description="Upload a PDF and ask a question based on its content. The model will generate a response."