kz209 commited on
Commit
551f786
β€’
1 Parent(s): 5c4655e
Files changed (1) hide show
  1. pages/summarization_playground.py +2 -2
pages/summarization_playground.py CHANGED
@@ -137,9 +137,9 @@ def create_summarization_interface():
137
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
138
 
139
  gr.Markdown("<div style='border: 4px solid white; padding: 3px; border-radius: 5px;width:100px;padding-top: 0.5px;padding-bottom: 10px;'><h3>Prompt πŸ‘₯</h3></center></div>")
140
- Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
141
  datapoint = random.choice(dataset)
142
- input_text = gr.Textbox(label="Input Dialogue", lines=10, placeholder="Enter text here...", value=datapoint['section_text'] + '\n\nDialogue:\n' + datapoint['dialogue'])
143
  submit_button = gr.Button("✨ Submit ✨")
144
 
145
  with gr.Row():
 
137
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
138
 
139
  gr.Markdown("<div style='border: 4px solid white; padding: 3px; border-radius: 5px;width:100px;padding-top: 0.5px;padding-bottom: 10px;'><h3>Prompt πŸ‘₯</h3></center></div>")
140
+ Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=4, placeholder='Input your prompts')
141
  datapoint = random.choice(dataset)
142
+ input_text = gr.Textbox(label="Input Dialogue", lines=7, placeholder="Enter text here...", value=datapoint['section_text'] + '\n\nDialogue:\n' + datapoint['dialogue'])
143
  submit_button = gr.Button("✨ Submit ✨")
144
 
145
  with gr.Row():