yetessam commited on
Commit
3d910a0
·
verified ·
1 Parent(s): ebc8acf

Update ui/contentagentui.py

Browse files
Files changed (1) hide show
  1. ui/contentagentui.py +2 -2
ui/contentagentui.py CHANGED
@@ -106,8 +106,8 @@ class ContentAgentUI:
106
  if examples:
107
  example_radio = gr.Radio(choices=examples, label="Try one of these examples:")
108
  # fill the prompt when an example is picked
109
- example_radio.change(fn=lambda ex: ex, inputs=example_radio, outputs=self.user_input)
110
- else:
111
  gr.Markdown("*No examples found.*")
112
 
113
 
 
106
  if examples:
107
  example_radio = gr.Radio(choices=examples, label="Try one of these examples:")
108
  # fill the prompt when an example is picked
109
+ example_radio.change(fn=lambda ex: ex, inputs=example_radio, outputs=self.prompt)
110
+ else:
111
  gr.Markdown("*No examples found.*")
112
 
113