Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
89 |
with demo:
|
90 |
-
|
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)
|