Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,8 @@ with gr.Blocks(css=css) as demo:
|
|
244 |
exps = gr.Examples(
|
245 |
get_samples(),
|
246 |
inputs = text_prompt,
|
247 |
-
label = "Prompt Examples"
|
|
|
248 |
)
|
249 |
exp_refresh = gr.Button(value="Click Refresh to get newly prompt examples")
|
250 |
exp_refresh.click(get_samples, None, exps)
|
|
|
244 |
exps = gr.Examples(
|
245 |
get_samples(),
|
246 |
inputs = text_prompt,
|
247 |
+
label = "Prompt Examples",
|
248 |
+
elem_id = "Examples"
|
249 |
)
|
250 |
exp_refresh = gr.Button(value="Click Refresh to get newly prompt examples")
|
251 |
exp_refresh.click(get_samples, None, exps)
|