Spaces:
Build error
Build error
Commit
·
dc4a5a9
1
Parent(s):
dab2036
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,11 +160,12 @@ start_work = """async() => {
|
|
| 160 |
with gr.Blocks(title="Talk to chatGPT") as demo:
|
| 161 |
gr.Markdown("## Talk to chatGPT ##")
|
| 162 |
gr.HTML(
|
| 163 |
-
"<p> Demo uses <a href='https://huggingface.co/openai/whisper-base.en'>Whisper</a> to convert the input speech"
|
| 164 |
-
" to transcribed text, <a href='https://chat.openai.com/chat'>chatGPT</a> to generate responses, and <a"
|
| 165 |
-
" href='https://huggingface.co/speechbrain/tts-tacotron2-ljspeech'>tacotron2</a> to convert the response to"
|
| 166 |
" output speech. </p>"
|
| 167 |
)
|
|
|
|
| 168 |
gr.HTML(
|
| 169 |
"<p>You can duplicate this space and use your own session token: <a style='display:inline-block'"
|
| 170 |
" href='https://huggingface.co/spaces/yizhangliu/chatGPT?duplicate=true'><img"
|
|
|
|
| 160 |
with gr.Blocks(title="Talk to chatGPT") as demo:
|
| 161 |
gr.Markdown("## Talk to chatGPT ##")
|
| 162 |
gr.HTML(
|
| 163 |
+
"<p> Demo uses <a href='https://huggingface.co/openai/whisper-base.en' class='underline'>Whisper</a> to convert the input speech"
|
| 164 |
+
" to transcribed text, <a href='https://chat.openai.com/chat' class='underline'>chatGPT</a> to generate responses, and <a"
|
| 165 |
+
" href='https://huggingface.co/speechbrain/tts-tacotron2-ljspeech' class='underline'>tacotron2</a> to convert the response to"
|
| 166 |
" output speech. </p>"
|
| 167 |
)
|
| 168 |
+
gr.HTML("<p> <img src='https://raw.githubusercontent.com/sanchit-gandhi/codesnippets/3eda64658fd2b4753fa2cb492c23bdcee7cf84c0/pipeline-3.png' </p>")
|
| 169 |
gr.HTML(
|
| 170 |
"<p>You can duplicate this space and use your own session token: <a style='display:inline-block'"
|
| 171 |
" href='https://huggingface.co/spaces/yizhangliu/chatGPT?duplicate=true'><img"
|