Adam-Ben-Khalifa commited on
Commit
725bed9
·
verified ·
1 Parent(s): 6a31a1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -39,12 +39,15 @@ async def advancedPromptPipeline(InputPrompt, model="gpt-4o-mini", temperature=0
39
  demo = gr.Interface(fn=advancedPromptPipeline,
40
  inputs=[
41
  gr.Textbox(lines=14, placeholder="Enter your prompt", label="Input Prompt", min_width=100),
42
- gr.Radio(["gpt-4o-mini", "gpt-4o"], value="gpt-4o-mini", label="Select Model"),
43
- gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.1, label="Temperature")
44
  ],
45
  outputs=[
46
  gr.Textbox(lines=25, label="Advanced Prompt", show_copy_button=True, autoscroll=False, min_width=220),
47
- ]
 
 
 
48
  )
49
 
50
 
 
39
  demo = gr.Interface(fn=advancedPromptPipeline,
40
  inputs=[
41
  gr.Textbox(lines=14, placeholder="Enter your prompt", label="Input Prompt", min_width=100),
42
+ gr.Radio(["gpt-4o-mini", "gpt-4o"], value="gpt-4o-mini", label="Select Model", info="Recommended: gpt-4o-mini"),
43
+ gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.1, label="Temperature", info="Recommended: Temperature=0.0")
44
  ],
45
  outputs=[
46
  gr.Textbox(lines=25, label="Advanced Prompt", show_copy_button=True, autoscroll=False, min_width=220),
47
+ ],
48
+ title="Advanced Prompt Generator",
49
+ description="This tool will enhance any given input for the optimal output!",
50
+ theme="soft"
51
  )
52
 
53