Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ class GradioInterface:
|
|
149 |
.title-container::before { content: ''; }
|
150 |
.input-container::before { content: 'PROMPT REFINEMENT'; }
|
151 |
.analysis-container::before { content: 'ANALYSIS & REFINEMENT'; }
|
152 |
-
.model-container::before { content: '
|
153 |
.results-container::before { content: 'RESULTS'; }
|
154 |
.examples-container::before { content: 'EXAMPLES'; }
|
155 |
|
@@ -215,12 +215,12 @@ class GradioInterface:
|
|
215 |
)
|
216 |
apply_button = gr.Button("Apply MetaPrompt")
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
|
225 |
refine_button.click(
|
226 |
fn=self.refine_prompt,
|
|
|
149 |
.title-container::before { content: ''; }
|
150 |
.input-container::before { content: 'PROMPT REFINEMENT'; }
|
151 |
.analysis-container::before { content: 'ANALYSIS & REFINEMENT'; }
|
152 |
+
.model-container::before { content: 'PROMPT APPLICATION'; }
|
153 |
.results-container::before { content: 'RESULTS'; }
|
154 |
.examples-container::before { content: 'EXAMPLES'; }
|
155 |
|
|
|
215 |
)
|
216 |
apply_button = gr.Button("Apply MetaPrompt")
|
217 |
|
218 |
+
# with gr.Column(elem_classes=["container", "results-container"]):
|
219 |
+
with gr.Tabs():
|
220 |
+
with gr.TabItem("Original Prompt Output"):
|
221 |
+
original_output = gr.Markdown()
|
222 |
+
with gr.TabItem("Refined Prompt Output"):
|
223 |
+
refined_output = gr.Markdown()
|
224 |
|
225 |
refine_button.click(
|
226 |
fn=self.refine_prompt,
|