kz209 commited on
Commit
f253a0d
1 Parent(s): 4de49ab

update markdown to html

Browse files
pages/batch_evaluation.py CHANGED
@@ -75,9 +75,9 @@ def create_batch_evaluation_interface():
75
  with gr.Row():
76
  seed = gr.Number(value=8, info="pick your favoriate random seed", precision=0)
77
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
78
- Template_text = gr.Textbox(value="""Summariza the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
79
  submit_button = gr.Button("✨ Submit ✨")
80
- output = gr.Markdown()
81
 
82
  submit_button.click(
83
  process,
 
75
  with gr.Row():
76
  seed = gr.Number(value=8, info="pick your favoriate random seed", precision=0)
77
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
78
+ Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
79
  submit_button = gr.Button("✨ Submit ✨")
80
+ output = gr.HTML(label="Results")
81
 
82
  submit_button.click(
83
  process,
pages/summarization_playground.py CHANGED
@@ -67,7 +67,7 @@ def create_summarization_interface():
67
  example_dropdown = gr.Dropdown(choices=list(examples.keys()), label="Choose an example")
68
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
69
 
70
- Template_text = gr.Textbox(value="""Summariza the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
71
 
72
  input_text = gr.Textbox(label="Input Text", lines=10, placeholder="Enter text here...")
73
  submit_button = gr.Button("✨ Submit ✨")
 
67
  example_dropdown = gr.Dropdown(choices=list(examples.keys()), label="Choose an example")
68
  model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
69
 
70
+ Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
71
 
72
  input_text = gr.Textbox(label="Input Text", lines=10, placeholder="Enter text here...")
73
  submit_button = gr.Button("✨ Submit ✨")