Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
276 |
-
|
277 |
-
|
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 |
|