KG0101 commited on
Commit
02be256
·
verified ·
1 Parent(s): 24124c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -85,10 +85,8 @@ soap_note = gr.Interface(
85
  description="Convert transcribed conversation to a clinical SOAP note with structured sections (Subjective, Objective, Assessment, Plan)."
86
  )
87
 
88
- # Tabbed interface integrating SOAP note below transcription
89
  with demo:
90
- with gr.TabbedInterface([mf_transcribe, file_transcribe], ["Microphone", "Audio file"]) as transcribe_tab:
91
- transcribe_tab.outputs[0] # Output from transcription feeds directly to SOAP note
92
- soap_note # SOAP note interface placed directly below transcription output
93
 
94
  demo.queue().launch(ssr_mode=False)
 
85
  description="Convert transcribed conversation to a clinical SOAP note with structured sections (Subjective, Objective, Assessment, Plan)."
86
  )
87
 
88
+ # Tabbed interface with transcription and SOAP note generation
89
  with demo:
90
+ gr.TabbedInterface([mf_transcribe, file_transcribe, soap_note], ["Microphone", "Audio file", "SOAP Note"])
 
 
91
 
92
  demo.queue().launch(ssr_mode=False)