Spaces:
Paused
Paused
FranklinWillemen
commited on
Commit
•
8cdc72a
1
Parent(s):
008688e
comment out transcript
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def conversation(audio:str):
|
|
43 |
if message['role'] != 'system':
|
44 |
chat_transcript += message['role'] + ": " + message['content'] + "\n\n"
|
45 |
|
46 |
-
return
|
47 |
|
48 |
# set a custom theme
|
49 |
theme = gr.themes.Default().set(
|
@@ -60,6 +60,6 @@ with gr.Blocks(theme=theme) as ui:
|
|
60 |
# text_output = gr.Textbox(label="Transcript")
|
61 |
|
62 |
btn = gr.Button("Run")
|
63 |
-
btn.click(fn=conversation, inputs=audio_input, outputs=[
|
64 |
|
65 |
ui.launch()
|
|
|
43 |
if message['role'] != 'system':
|
44 |
chat_transcript += message['role'] + ": " + message['content'] + "\n\n"
|
45 |
|
46 |
+
return "voice.wav"
|
47 |
|
48 |
# set a custom theme
|
49 |
theme = gr.themes.Default().set(
|
|
|
60 |
# text_output = gr.Textbox(label="Transcript")
|
61 |
|
62 |
btn = gr.Button("Run")
|
63 |
+
btn.click(fn=conversation, inputs=audio_input, outputs=[audio_output])
|
64 |
|
65 |
ui.launch()
|