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

Update ui/contentagentui.py

Browse files
Files changed (1) hide show
  1. ui/contentagentui.py +2 -3
ui/contentagentui.py CHANGED
@@ -105,13 +105,12 @@ class ContentAgentUI:
105
  with self.main_panel:
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
 
114
-
115
  # ---------- agent call ----------
116
 
117
 
 
105
  with self.main_panel:
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
 
 
114
  # ---------- agent call ----------
115
 
116