lgaleana commited on
Commit
4c925d3
1 Parent(s): 0243c6b
Files changed (1) hide show
  1. components.py +2 -3
components.py CHANGED
@@ -79,13 +79,12 @@ class AITask(TaskComponent):
79
 
80
  def _render(self, id_: int) -> gr.Box:
81
  with gr.Box(visible=False) as gr_component:
82
- gr.Markdown("Send a message to ChatGPT.")
83
  with gr.Row():
84
  self.input = gr.Textbox(
85
- label="Prompt",
86
  lines=10,
87
  interactive=True,
88
- placeholder="Example: summarize this text: {v0}",
89
  )
90
  self.output = gr.Textbox(
91
  label=f"Output: {{{self.vname}{id_}}}",
 
79
 
80
  def _render(self, id_: int) -> gr.Box:
81
  with gr.Box(visible=False) as gr_component:
 
82
  with gr.Row():
83
  self.input = gr.Textbox(
84
+ label="Instructions",
85
  lines=10,
86
  interactive=True,
87
+ placeholder="What would you like ChatGPT to do?",
88
  )
89
  self.output = gr.Textbox(
90
  label=f"Output: {{{self.vname}{id_}}}",