davanstrien HF staff commited on
Commit
83cb40b
·
1 Parent(s): 9806d50

chore: Update Gradio interface for generated user instruction and model response

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,11 +78,12 @@ iface = gr.Interface(
78
  fn=generate_instruction_response,
79
  inputs=[],
80
  outputs=[
81
- gr.Text(label="Generated User Instruction"),
82
  gr.Markdown(label="Generated Model Response"),
83
  ],
84
  title=title,
85
  description=description,
 
86
  )
87
 
88
  # Launch the app
 
78
  fn=generate_instruction_response,
79
  inputs=[],
80
  outputs=[
81
+ gr.Markdown(label="Generated User Instruction"),
82
  gr.Markdown(label="Generated Model Response"),
83
  ],
84
  title=title,
85
  description=description,
86
+ submit_btn="Generate Instructions Response Pair",
87
  )
88
 
89
  # Launch the app