Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -106,6 +106,7 @@ class GradioInterface:
|
|
106 |
gr.Markdown("Learn how to generate an improved version of your prompts. Enter a main idea for a prompt, choose a meta prompt, and the model will attempt to generate an improved version.")
|
107 |
|
108 |
with gr.Row():
|
|
|
109 |
prompt_text = gr.Textbox(label="Type the prompt (or let it empty to see metaprompt)")
|
110 |
with gr.Accordion("Meta Prompt explanation", open=False):
|
111 |
gr.Markdown(explanation_markdown)
|
@@ -144,6 +145,7 @@ class GradioInterface:
|
|
144 |
value="meta-llama/Meta-Llama-3-70B-Instruct",
|
145 |
label="Choose the Model to apply to the prompts (the one you will used)"
|
146 |
)
|
|
|
147 |
apply_button = gr.Button("Apply MetaPrompt")
|
148 |
|
149 |
with gr.Tab("Original Prompt Output"):
|
|
|
106 |
gr.Markdown("Learn how to generate an improved version of your prompts. Enter a main idea for a prompt, choose a meta prompt, and the model will attempt to generate an improved version.")
|
107 |
|
108 |
with gr.Row():
|
109 |
+
gr.Markdown("## Refine Prompt")
|
110 |
prompt_text = gr.Textbox(label="Type the prompt (or let it empty to see metaprompt)")
|
111 |
with gr.Accordion("Meta Prompt explanation", open=False):
|
112 |
gr.Markdown(explanation_markdown)
|
|
|
145 |
value="meta-llama/Meta-Llama-3-70B-Instruct",
|
146 |
label="Choose the Model to apply to the prompts (the one you will used)"
|
147 |
)
|
148 |
+
gr.Markdown("## See MetaPrompt Impact")
|
149 |
apply_button = gr.Button("Apply MetaPrompt")
|
150 |
|
151 |
with gr.Tab("Original Prompt Output"):
|