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 |
-
with gr.
|
433 |
[
|
434 |
gr.Interface(
|
435 |
fn=finetune_small_subset,
|
@@ -477,6 +477,6 @@ with gr.Blocks() as demo:
|
|
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( # <-- This should be inside `with gr.Blocks()`
|
433 |
[
|
434 |
gr.Interface(
|
435 |
fn=finetune_small_subset,
|
|
|
477 |
clear_btn=None
|
478 |
)
|
479 |
]
|
480 |
+
) # <-- No `render()`, just close `gr.TabbedInterface()`
|
481 |
|
482 |
demo.launch()
|