Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +2 -0
ui/contentagentui.py
CHANGED
|
@@ -80,6 +80,8 @@ class ContentAgentUI:
|
|
| 80 |
examples = self._get_example()
|
| 81 |
|
| 82 |
if examples:
|
|
|
|
|
|
|
| 83 |
example_radio = gr.Radio(choices=examples, label="Try one of these examples:")
|
| 84 |
# fill the prompt when an example is picked
|
| 85 |
example_radio.change(fn=lambda ex: ex, inputs=example_radio, outputs=self.prompt)
|
|
|
|
| 80 |
examples = self._get_example()
|
| 81 |
|
| 82 |
if examples:
|
| 83 |
+
|
| 84 |
+
gr.Markdown("## Examples (click to load)")
|
| 85 |
example_radio = gr.Radio(choices=examples, label="Try one of these examples:")
|
| 86 |
# fill the prompt when an example is picked
|
| 87 |
example_radio.change(fn=lambda ex: ex, inputs=example_radio, outputs=self.prompt)
|