baconnier commited on
Commit
f4d250c
1 Parent(s): 57222dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -272,10 +272,13 @@ input[type="radio"]:checked::after {
272
  gr.Markdown("### Initial prompt analysis")
273
  analysis_evaluation = gr.Markdown()
274
  gr.Markdown("### Refined Prompt")
275
- refined_prompt = gr.Textbox(label="Refined Prompt",
276
- interactive=False,
277
- elem_classes="no-background"
278
- )
 
 
 
279
  gr.Markdown("### Explanation of Refinements")
280
  explanation_of_refinements = gr.Markdown()
281
 
 
272
  gr.Markdown("### Initial prompt analysis")
273
  analysis_evaluation = gr.Markdown()
274
  gr.Markdown("### Refined Prompt")
275
+ refined_prompt = gr.Textbox(
276
+ label="Refined Prompt",
277
+ interactive=False,
278
+ show_label=True, # Must be True for copy button to show
279
+ show_copy_button=True, # Adds the copy button
280
+ elem_classes="no-background"
281
+ )
282
  gr.Markdown("### Explanation of Refinements")
283
  explanation_of_refinements = gr.Markdown()
284