DocUA commited on
Commit
906c15d
·
1 Parent(s): df84c2c

feat: Set theme for conversation verification UI after interface creation

Browse files
src/interface/conversation_verification_ui.py CHANGED
@@ -39,9 +39,10 @@ class VerificationInterface:
39
  self.current_record_index = 0
40
 
41
  with gr.Blocks(
42
- title=f"Verify Conversation - {session.patient_name}",
43
- theme=gr.themes.Soft()
44
  ) as interface:
 
 
45
 
46
  # Session header
47
  with gr.Row():
 
39
  self.current_record_index = 0
40
 
41
  with gr.Blocks(
42
+ title=f"Verify Conversation - {session.patient_name}"
 
43
  ) as interface:
44
+ # Set theme after creation
45
+ interface.theme = gr.themes.Soft()
46
 
47
  # Session header
48
  with gr.Row():