Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ A1 = gr.ChatInterface(predict,
|
|
91 |
|
92 |
A2 = gr.load("models/openai/whisper-small",
|
93 |
title=" ",
|
94 |
-
description="Transcribe Speech and Audio Files",
|
95 |
inputs=[
|
96 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
97 |
gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
@@ -143,5 +143,5 @@ yt_transcribe = gr.Interface(
|
|
143 |
allow_flagging="never",
|
144 |
)
|
145 |
|
146 |
-
clp = gr.TabbedInterface([A1, mf_transcribe, yt_transcribe, A3, A4], ["Chat", "Transcribe
|
147 |
clp.queue().launch()
|
|
|
91 |
|
92 |
A2 = gr.load("models/openai/whisper-small",
|
93 |
title=" ",
|
94 |
+
description="Transcribe Real-Time Speech and Audio Files",
|
95 |
inputs=[
|
96 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
97 |
gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
|
|
143 |
allow_flagging="never",
|
144 |
)
|
145 |
|
146 |
+
clp = gr.TabbedInterface([A1, mf_transcribe, yt_transcribe, A3, A4], ["Chat", "Transcribe", "Transcribe YouTube Videos", "Describe", "Create"], theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
|
147 |
clp.queue().launch()
|