youngtsai commited on
Commit
1d7518e
·
1 Parent(s): 12a83ad

outputs=conclusion_sentence_output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -266,6 +266,7 @@ with gr.Blocks() as demo:
266
  points_output = gr.Textbox(label="Generated Points 要點")
267
  topic_sentence_output = gr.Textbox(label="Generated Topic Sentences 主題句")
268
  supporting_sentences_output = gr.Textbox(label="Generated Supporting Sentences 支持句")
 
269
  paragraph_output = gr.Textbox(label="Generated Paragraph 完整段落")
270
 
271
  generate_topics_button.click(
@@ -339,7 +340,7 @@ with gr.Blocks() as demo:
339
  topic_sentence_input,
340
  user_generate_conclusion_sentence_prompt
341
  ],
342
- outputs=supporting_sentences_output
343
  )
344
 
345
  generate_paragraph_button.click(
 
266
  points_output = gr.Textbox(label="Generated Points 要點")
267
  topic_sentence_output = gr.Textbox(label="Generated Topic Sentences 主題句")
268
  supporting_sentences_output = gr.Textbox(label="Generated Supporting Sentences 支持句")
269
+ conclusion_sentence_output = gr.Textbox(label="Generated Conclusion Sentence 結論句")
270
  paragraph_output = gr.Textbox(label="Generated Paragraph 完整段落")
271
 
272
  generate_topics_button.click(
 
340
  topic_sentence_input,
341
  user_generate_conclusion_sentence_prompt
342
  ],
343
+ outputs=conclusion_sentence_output
344
  )
345
 
346
  generate_paragraph_button.click(