Update app.py
Browse files
app.py
CHANGED
|
@@ -154,14 +154,14 @@ def demo():
|
|
| 154 |
<br><b>Warning:</b> This space uses the free CPU Basic hardware from Hugging Face. Some steps and LLM models used below (free inference endpoints) can take some time to generate a reply.
|
| 155 |
""")
|
| 156 |
|
| 157 |
-
with gr.Tab("Step 1 - Upload PDF"):
|
| 158 |
-
|
| 159 |
|
| 160 |
-
with gr.Tab("Step 2 - Process document"):
|
| 161 |
-
|
| 162 |
|
| 163 |
-
with gr.Tab("Step 3 - Initialize QA chain"):
|
| 164 |
-
|
| 165 |
|
| 166 |
with gr.Tab("Step 4 - Chatbot"):
|
| 167 |
chatbot = gr.Chatbot(height=300)
|
|
|
|
| 154 |
<br><b>Warning:</b> This space uses the free CPU Basic hardware from Hugging Face. Some steps and LLM models used below (free inference endpoints) can take some time to generate a reply.
|
| 155 |
""")
|
| 156 |
|
| 157 |
+
# with gr.Tab("Step 1 - Upload PDF"):
|
| 158 |
+
# gr.Markdown("Using static PDF link: path/to/your/static.pdf")
|
| 159 |
|
| 160 |
+
# with gr.Tab("Step 2 - Process document"):
|
| 161 |
+
# gr.Markdown("Processing document automatically...")
|
| 162 |
|
| 163 |
+
# with gr.Tab("Step 3 - Initialize QA chain"):
|
| 164 |
+
# gr.Markdown("Initializing QA chain automatically...")
|
| 165 |
|
| 166 |
with gr.Tab("Step 4 - Chatbot"):
|
| 167 |
chatbot = gr.Chatbot(height=300)
|