aakash0563 commited on
Commit
d5d5fbc
1 Parent(s): da6a822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -71,14 +71,14 @@ def get_Answer(query):
71
  # iface.launch()
72
 
73
 
74
- # # Define the Gradio interface
75
- # iface = gr.Interface(
76
- # fn=upload_pdf,
77
- # inputs=["file"], # Specify a file input component
78
- # outputs="textbox", # Display the output text in a textbox
79
- # title="Upload PDF to ChromaDB",
80
- # description="Upload a PDF file and store its text chunks in ChromaDB.",
81
- # )
82
 
83
- # # Launch the Gradio app
84
- # iface.launch()
 
71
  # iface.launch()
72
 
73
 
74
+ # Define the Gradio interface
75
+ iface = gr.Interface(
76
+ fn=upload_pdf,
77
+ inputs=["file"], # Specify a file input component
78
+ outputs="textbox", # Display the output text in a textbox
79
+ title="Upload PDF to ChromaDB",
80
+ description="Upload a PDF file and store its text chunks in ChromaDB.",
81
+ )
82
 
83
+ # Launch the Gradio app
84
+ iface.launch()