Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ my_inputs = [
|
|
| 131 |
#gr.Audio(sources=["microphone"], type="filepath",format="wav"), #Gradio 4.x
|
| 132 |
#gr.Audio(sources=["microphone"],type="numpy",editable="false"), #Gradio 4.x
|
| 133 |
gr.Microphone(type="filepath",format="wav"), #Gradio 4.x
|
| 134 |
-
gr.Radio(["Full Visit","Impression/Plan","
|
| 135 |
]
|
| 136 |
|
| 137 |
ui = gr.Interface(fn=transcribe,
|
|
@@ -141,6 +141,6 @@ ui = gr.Interface(fn=transcribe,
|
|
| 141 |
gr.Number(label=".mp3 MB")],
|
| 142 |
title="Jenkins",
|
| 143 |
)
|
|
|
|
| 144 |
|
| 145 |
-
|
| 146 |
-
ui.launch(share=True, debug=True)
|
|
|
|
| 131 |
#gr.Audio(sources=["microphone"], type="filepath",format="wav"), #Gradio 4.x
|
| 132 |
#gr.Audio(sources=["microphone"],type="numpy",editable="false"), #Gradio 4.x
|
| 133 |
gr.Microphone(type="filepath",format="wav"), #Gradio 4.x
|
| 134 |
+
gr.Radio(["Full Visit","Impression/Plan","Psych","Handover","Hallway Consult","Dx/DDx","Feedback","Meds Only"], show_label=False),
|
| 135 |
]
|
| 136 |
|
| 137 |
ui = gr.Interface(fn=transcribe,
|
|
|
|
| 141 |
gr.Number(label=".mp3 MB")],
|
| 142 |
title="Jenkins",
|
| 143 |
)
|
| 144 |
+
ui.config['template'] = '<!DOCTYPE html><html><head><title>Jenkins</title></head><body>{}</body></html>'
|
| 145 |
|
| 146 |
+
ui.launch(share=False, debug=True)
|
|
|