Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -138,14 +138,13 @@ def demo(): | |
| 138 | 
             
                    qa_chain = gr.State()
         | 
| 139 |  | 
| 140 | 
             
                    gr.HTML("<center><h1>PDF RAG App</h1><center>")
         | 
| 141 | 
            -
                     | 
| 142 | 
            -
                     | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 145 | 
            -
             | 
| 146 | 
            -
                     | 
| 147 | 
            -
                     | 
| 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():
         | 
|  | |
| 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 | 
            +
                    """)
         | 
|  | |
| 148 | 
             
                    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>""")
         | 
| 149 |  | 
| 150 | 
             
                    with gr.Row():
         |