Update app.py
Browse files
app.py
CHANGED
|
@@ -137,15 +137,15 @@ def demo():
|
|
| 137 |
vector_db = gr.State()
|
| 138 |
qa_chain = gr.State()
|
| 139 |
|
| 140 |
-
|
| 141 |
-
gr.HTML("""
|
| 142 |
-
<style>
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
</style>
|
| 147 |
-
<center><h1>PDF RAG App</h1></center>
|
| 148 |
-
""")
|
| 149 |
gr.Markdown("""<b>Query your PDF documents!</b> This AI agent is designed to perform retrieval augmented generation (RAG) on PDF documents. The app is hosted on Hugging Face Hub for the sole purpose of demonstration. <b>Please do not upload confidential documents.</b>""")
|
| 150 |
|
| 151 |
with gr.Row():
|
|
|
|
| 137 |
vector_db = gr.State()
|
| 138 |
qa_chain = gr.State()
|
| 139 |
|
| 140 |
+
gr.HTML("<center><h1>PDF RAG App</h1><center>")
|
| 141 |
+
# gr.HTML("""
|
| 142 |
+
# <style>
|
| 143 |
+
# footer {
|
| 144 |
+
# display: none !important;
|
| 145 |
+
# }
|
| 146 |
+
# </style>
|
| 147 |
+
# <center><h1>PDF RAG App</h1></center>
|
| 148 |
+
# """)
|
| 149 |
gr.Markdown("""<b>Query your PDF documents!</b> This AI agent is designed to perform retrieval augmented generation (RAG) on PDF documents. The app is hosted on Hugging Face Hub for the sole purpose of demonstration. <b>Please do not upload confidential documents.</b>""")
|
| 150 |
|
| 151 |
with gr.Row():
|