Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ class GradioInterface:
|
|
167 |
)
|
168 |
with gr.Accordion("Meta Prompt explanation", open=False):
|
169 |
gr.Markdown(explanation_markdown)
|
170 |
-
|
171 |
|
172 |
with gr.Column(elem_classes=["container", "analysis-container"]):
|
173 |
gr.Markdown("### Initial prompt analysis")
|
@@ -209,8 +209,6 @@ class GradioInterface:
|
|
209 |
with gr.TabItem("Refined Prompt Output"):
|
210 |
refined_output = gr.Markdown()
|
211 |
|
212 |
-
|
213 |
-
|
214 |
refine_button.click(
|
215 |
fn=self.refine_prompt,
|
216 |
inputs=[prompt_text, meta_prompt_choice],
|
|
|
167 |
)
|
168 |
with gr.Accordion("Meta Prompt explanation", open=False):
|
169 |
gr.Markdown(explanation_markdown)
|
170 |
+
refine_button = gr.Button("Refine Prompt")
|
171 |
|
172 |
with gr.Column(elem_classes=["container", "analysis-container"]):
|
173 |
gr.Markdown("### Initial prompt analysis")
|
|
|
209 |
with gr.TabItem("Refined Prompt Output"):
|
210 |
refined_output = gr.Markdown()
|
211 |
|
|
|
|
|
212 |
refine_button.click(
|
213 |
fn=self.refine_prompt,
|
214 |
inputs=[prompt_text, meta_prompt_choice],
|