Adam-Ben-Khalifa commited on
Commit
d6d8c91
1 Parent(s): 21b1ac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,16 +38,16 @@ async def advancedPromptPipeline(InputPrompt, model="gpt-4o-mini", temperature=0
38
 
39
  demo = gr.Interface(fn=advancedPromptPipeline,
40
  inputs=[
41
- gr.Textbox(lines=12, 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=23, 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="Glass"
51
  )
52
 
53
 
 
38
 
39
  demo = gr.Interface(fn=advancedPromptPipeline,
40
  inputs=[
41
+ gr.Textbox(lines=11, 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=22, 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