Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -207,9 +207,9 @@ with gr.Blocks() as app:
|
|
| 207 |
frankenstein_btn = gr.Button('💀 Frankenstein 📗', variant='secondary')
|
| 208 |
with gr.Column():
|
| 209 |
gr.TabbedInterface([generate_tab, stream_tab], ['Generate', 'Stream'])
|
| 210 |
-
random_btn.click(fn=get_random_quote, inputs=[], outputs=[text], api_name=API_NAME)
|
| 211 |
-
gatsby_btn.click(fn=get_gatsby, inputs=[], outputs=[text], api_name=API_NAME)
|
| 212 |
-
frankenstein_btn.click(fn=get_frankenstein, inputs=[], outputs=[text], api_name=API_NAME)
|
| 213 |
generate_btn.click(fn=generate_first, inputs=[text, voice, speed, use_gpu], outputs=[out_audio, out_ps], api_name=API_NAME)
|
| 214 |
tokenize_btn.click(fn=tokenize_first, inputs=[text, voice], outputs=[out_ps], api_name=API_NAME)
|
| 215 |
stream_event = stream_btn.click(fn=generate_all, inputs=[text, voice, speed, use_gpu], outputs=[out_stream], api_name=API_NAME)
|
|
|
|
| 207 |
frankenstein_btn = gr.Button('💀 Frankenstein 📗', variant='secondary')
|
| 208 |
with gr.Column():
|
| 209 |
gr.TabbedInterface([generate_tab, stream_tab], ['Generate', 'Stream'])
|
| 210 |
+
# random_btn.click(fn=get_random_quote, inputs=[], outputs=[text], api_name=API_NAME)
|
| 211 |
+
# gatsby_btn.click(fn=get_gatsby, inputs=[], outputs=[text], api_name=API_NAME)
|
| 212 |
+
# frankenstein_btn.click(fn=get_frankenstein, inputs=[], outputs=[text], api_name=API_NAME)
|
| 213 |
generate_btn.click(fn=generate_first, inputs=[text, voice, speed, use_gpu], outputs=[out_audio, out_ps], api_name=API_NAME)
|
| 214 |
tokenize_btn.click(fn=tokenize_first, inputs=[text, voice], outputs=[out_ps], api_name=API_NAME)
|
| 215 |
stream_event = stream_btn.click(fn=generate_all, inputs=[text, voice, speed, use_gpu], outputs=[out_stream], api_name=API_NAME)
|