Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,21 +67,21 @@ def transcribe(audio):
|
|
67 |
|
68 |
return chat_transcript,'output.wav'
|
69 |
|
70 |
-
css = """
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
|
76 |
-
with gr.Blocks(css=css) as ui:
|
77 |
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
|
86 |
# Define the Gradio UI interface
|
87 |
# ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|
|
|
67 |
|
68 |
return chat_transcript,'output.wav'
|
69 |
|
70 |
+
# css = """
|
71 |
+
# #col-container {max-width: 80%; margin-left: auto; margin-right: auto;}
|
72 |
+
# #header {text-align: center;}
|
73 |
+
# }
|
74 |
+
# """
|
75 |
|
76 |
+
# with gr.Blocks(css=css) as ui:
|
77 |
|
78 |
|
79 |
+
# with gr.Column(elem_id="col-container"):
|
80 |
+
# gr.Markdown("""## Talk to AI Steve Jobs: Audio-to-Text+Audio generation
|
81 |
+
# Powered by ChatGPT + Whisper + ElevenLabs + HuggingFace <br>
|
82 |
+
# <br>
|
83 |
+
# """,
|
84 |
+
# elem_id="header")
|
85 |
|
86 |
# Define the Gradio UI interface
|
87 |
# ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|