baconnier commited on
Commit
28bf1be
1 Parent(s): b97dc07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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: 'MODEL APPLICATION'; }
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
- 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,
 
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,