Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -367,8 +367,6 @@ input[type="radio"]:checked::after {
|
|
| 367 |
gr.Markdown("### Explanation of Refinements")
|
| 368 |
explanation_of_refinements = gr.Markdown()
|
| 369 |
|
| 370 |
-
with gr.Accordion("Full Response JSON", open=False, visible=False):
|
| 371 |
-
full_response_json = gr.JSON()
|
| 372 |
|
| 373 |
with gr.Column(elem_classes=["container", "model-container"]):
|
| 374 |
# gr.Markdown("## See MetaPrompt Impact")
|
|
@@ -390,7 +388,9 @@ input[type="radio"]:checked::after {
|
|
| 390 |
original_output = gr.Markdown()
|
| 391 |
with gr.TabItem("Refined Prompt Output"):
|
| 392 |
refined_output = gr.Markdown()
|
| 393 |
-
|
|
|
|
|
|
|
| 394 |
refine_button.click(
|
| 395 |
fn=self.refine_prompt,
|
| 396 |
inputs=[prompt_text, meta_prompt_choice],
|
|
|
|
| 367 |
gr.Markdown("### Explanation of Refinements")
|
| 368 |
explanation_of_refinements = gr.Markdown()
|
| 369 |
|
|
|
|
|
|
|
| 370 |
|
| 371 |
with gr.Column(elem_classes=["container", "model-container"]):
|
| 372 |
# gr.Markdown("## See MetaPrompt Impact")
|
|
|
|
| 388 |
original_output = gr.Markdown()
|
| 389 |
with gr.TabItem("Refined Prompt Output"):
|
| 390 |
refined_output = gr.Markdown()
|
| 391 |
+
with gr.Accordion("Full Response JSON", open=False, visible=True):
|
| 392 |
+
full_response_json = gr.JSON()
|
| 393 |
+
|
| 394 |
refine_button.click(
|
| 395 |
fn=self.refine_prompt,
|
| 396 |
inputs=[prompt_text, meta_prompt_choice],
|