baconnier commited on
Commit
4936217
·
verified ·
1 Parent(s): 0b82b81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,9 +12,6 @@ class GradioInterface:
12
  gr.Markdown("# PROMPT++")
13
  gr.Markdown("### Automating Prompt Engineering by Refining your Prompts")
14
  gr.Markdown("Learn how to generate an improved version of your prompts.")
15
- gr.HTML(
16
- "<p style='text-align: center; color:orange;'>⚠ This space is in progress, and we're actively working on it, so you might find some bugs! Please report any issues you have in the Community tab to help us make it better for all.</p>"
17
- )
18
 
19
  with gr.Column(elem_classes=["container", "input-container"]):
20
  prompt_text = gr.Textbox(
@@ -96,6 +93,9 @@ class GradioInterface:
96
  outputs=[original_output, refined_output],
97
  api_name="apply_prompts"
98
  )
 
 
 
99
 
100
  def refine_prompt(self, prompt: str, meta_prompt_choice: str) -> tuple:
101
  initial_prompt_evaluation, refined_prompt, explanation_refinements, full_response = self.prompt_refiner.refine_prompt(prompt, meta_prompt_choice)
 
12
  gr.Markdown("# PROMPT++")
13
  gr.Markdown("### Automating Prompt Engineering by Refining your Prompts")
14
  gr.Markdown("Learn how to generate an improved version of your prompts.")
 
 
 
15
 
16
  with gr.Column(elem_classes=["container", "input-container"]):
17
  prompt_text = gr.Textbox(
 
93
  outputs=[original_output, refined_output],
94
  api_name="apply_prompts"
95
  )
96
+ gr.HTML(
97
+ "<p style='text-align: center; color:orange;'>⚠ This space is in progress, and we're actively working on it, so you might find some bugs! Please report any issues you have in the Community tab to help us make it better for all.</p>"
98
+ )
99
 
100
  def refine_prompt(self, prompt: str, meta_prompt_choice: str) -> tuple:
101
  initial_prompt_evaluation, refined_prompt, explanation_refinements, full_response = self.prompt_refiner.refine_prompt(prompt, meta_prompt_choice)