wuhp commited on
Commit
5ab9dc4
·
verified ·
1 Parent(s): 7abf635

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.TabbedInterface(
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()