baconnier commited on
Commit
90b6b23
1 Parent(s): bc8b999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -176,7 +176,7 @@ class GradioInterface:
176
  gr.Markdown("### Automating Prompt Engineering by Refining your Prompts")
177
  gr.Markdown("Learn how to generate an improved version of your prompts.")
178
 
179
- with gr.Column():
180
  prompt_text = gr.Textbox(
181
  label="Type the prompt (or let it empty to see metaprompt)",
182
  elem_classes="no-background"
@@ -185,12 +185,12 @@ class GradioInterface:
185
  ["star","done","physics","morphosis", "verse", "phor","bolism","math","arpe"],
186
  label="Choose Meta Prompt",
187
  value="star",
188
- elem_classes=["no-background", "radio-group"]
189
- )
190
- refine_button = gr.Button("Refine Prompt")
191
  with gr.Accordion("Meta Prompt explanation", open=False):
192
  gr.Markdown(explanation_markdown)
193
-
 
194
  with gr.Column(elem_classes=["container", "analysis-container"]):
195
  gr.Markdown("### Initial prompt analysis")
196
  analysis_evaluation = gr.Markdown()
 
176
  gr.Markdown("### Automating Prompt Engineering by Refining your Prompts")
177
  gr.Markdown("Learn how to generate an improved version of your prompts.")
178
 
179
+ with gr.Column(elem_classes=["container", "input-container"]):
180
  prompt_text = gr.Textbox(
181
  label="Type the prompt (or let it empty to see metaprompt)",
182
  elem_classes="no-background"
 
185
  ["star","done","physics","morphosis", "verse", "phor","bolism","math","arpe"],
186
  label="Choose Meta Prompt",
187
  value="star",
188
+ # elem_classes=["no-background", "radio-group"]
189
+ )
 
190
  with gr.Accordion("Meta Prompt explanation", open=False):
191
  gr.Markdown(explanation_markdown)
192
+ refine_button = gr.Button("Refine Prompt")
193
+
194
  with gr.Column(elem_classes=["container", "analysis-container"]):
195
  gr.Markdown("### Initial prompt analysis")
196
  analysis_evaluation = gr.Markdown()