Update app.py
Browse files
app.py
CHANGED
|
@@ -429,7 +429,7 @@ with gr.Blocks() as demo:
|
|
| 429 |
gr.Markdown("# QLoRA Fine-tuning & RAG-based Chat Demo using Custom R1 Model")
|
| 430 |
gr.Markdown("---")
|
| 431 |
|
| 432 |
-
gr.TabbedInterface(
|
| 433 |
[
|
| 434 |
gr.Interface(
|
| 435 |
fn=finetune_small_subset,
|
|
@@ -473,10 +473,9 @@ with gr.Blocks() as demo:
|
|
| 473 |
textbox=gr.Textbox(placeholder="Ask a question to the RAG Chatbot...", lines=2, show_label=False),
|
| 474 |
title="💬 RAG Chat",
|
| 475 |
description="Chat with the custom R1 model, enhanced with retrieval-augmented memory. The model retrieves relevant info for informed responses.",
|
| 476 |
-
|
| 477 |
-
clear_btn=None
|
| 478 |
)
|
| 479 |
]
|
| 480 |
-
)
|
| 481 |
|
| 482 |
demo.launch()
|
|
|
|
| 429 |
gr.Markdown("# QLoRA Fine-tuning & RAG-based Chat Demo using Custom R1 Model")
|
| 430 |
gr.Markdown("---")
|
| 431 |
|
| 432 |
+
gr.TabbedInterface(
|
| 433 |
[
|
| 434 |
gr.Interface(
|
| 435 |
fn=finetune_small_subset,
|
|
|
|
| 473 |
textbox=gr.Textbox(placeholder="Ask a question to the RAG Chatbot...", lines=2, show_label=False),
|
| 474 |
title="💬 RAG Chat",
|
| 475 |
description="Chat with the custom R1 model, enhanced with retrieval-augmented memory. The model retrieves relevant info for informed responses.",
|
| 476 |
+
clear_btn=None # Keep if needed, or remove entirely
|
|
|
|
| 477 |
)
|
| 478 |
]
|
| 479 |
+
)
|
| 480 |
|
| 481 |
demo.launch()
|