Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -136,4 +136,17 @@ gr.Interface(
|
|
136 |
allow_flagging="never",
|
137 |
description=f"Gradio chatbot backed by memory in a dataset repository.",
|
138 |
article=f"The dataset repo is [{DATASET_REPO_URL}]({DATASET_REPO_URL})"
|
139 |
-
).launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
allow_flagging="never",
|
137 |
description=f"Gradio chatbot backed by memory in a dataset repository.",
|
138 |
article=f"The dataset repo is [{DATASET_REPO_URL}]({DATASET_REPO_URL})"
|
139 |
+
).launch(
|
140 |
+
|
141 |
+
|
142 |
+
#demo = gr.Blocks()
|
143 |
+
#with demo:
|
144 |
+
# audio_file = gr.inputs.Audio(source="microphone", type="filepath")
|
145 |
+
# text = gr.Textbox(label="Speech to Text")
|
146 |
+
# TTSchoice = gr.inputs.Radio( label="Pick a Text to Speech Model", choices=MODEL_NAMES, )
|
147 |
+
# audio = gr.Audio(label="Output", interactive=False)
|
148 |
+
# b1 = gr.Button("Recognize Speech")
|
149 |
+
# b5 = gr.Button("Read It Back Aloud")
|
150 |
+
# b1.click(speech_to_text, inputs=audio_file, outputs=text)
|
151 |
+
# b5.click(tts, inputs=[text,TTSchoice], outputs=audio)
|
152 |
+
#demo.launch(share=True)
|