Update app.py
Browse files
app.py
CHANGED
|
@@ -79,12 +79,12 @@ def generate_next(title,description,conversation_text):
|
|
| 79 |
|
| 80 |
|
| 81 |
with gr.Blocks() as demo:
|
| 82 |
-
gr.Markdown("Come up with a podcast title and then click 'Generate Additional CWTS Podcast Transcript Lines'
|
|
|
|
| 83 |
title = gr.Textbox(label="Podcast Title")
|
| 84 |
description = gr.Textbox(label="Description")
|
| 85 |
-
gr.Markdown("Conversation lines are separated by a linebreak followed by three hashes. This should be generated automatically. New lines can be added by clicking generated again.")
|
| 86 |
conversation_text = gr.Textbox(label="Conversation")
|
| 87 |
-
generate_button = gr.Button(
|
| 88 |
generate_button.click(fn=generate_next, inputs=[title,description,conversation_text], outputs=[title,description,conversation_text])
|
| 89 |
|
| 90 |
demo.launch()
|
|
|
|
| 79 |
|
| 80 |
|
| 81 |
with gr.Blocks() as demo:
|
| 82 |
+
gr.Markdown("""Come up with a podcast title and then click 'Generate Additional CWTS Podcast Transcript Lines'.
|
| 83 |
+
Conversation lines are separated by a linebreak followed by three hashes. This should be generated automatically. New lines can be added by clicking generated again.""")
|
| 84 |
title = gr.Textbox(label="Podcast Title")
|
| 85 |
description = gr.Textbox(label="Description")
|
|
|
|
| 86 |
conversation_text = gr.Textbox(label="Conversation")
|
| 87 |
+
generate_button = gr.Button(value="Generate Additional CWTS Podcast Transcript Lines")
|
| 88 |
generate_button.click(fn=generate_next, inputs=[title,description,conversation_text], outputs=[title,description,conversation_text])
|
| 89 |
|
| 90 |
demo.launch()
|