Adam-Ben-Khalifa commited on
Commit
0f24f9c
·
verified ·
1 Parent(s): 7a623cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,11 +91,11 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
91
 
92
  demo = gr.Interface(fn=advancedPromptPipeline,
93
  inputs=[
94
- gr.Textbox(lines=20, placeholder="Enter your prompt", label="Input Prompt"),
95
  gr.Radio(["gpt-4o-mini", "gpt-4o"], value="gpt-4o-mini", label="Select Model"),
96
  gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.1, label="Temperature")
97
  ],
98
- outputs=[gr.Textbox(lines=30, label="Advanced Prompt")])
99
 
100
 
101
  if __name__ == "__main__":
 
91
 
92
  demo = gr.Interface(fn=advancedPromptPipeline,
93
  inputs=[
94
+ gr.Textbox(lines=10, placeholder="Enter your prompt", label="Input Prompt"),
95
  gr.Radio(["gpt-4o-mini", "gpt-4o"], value="gpt-4o-mini", label="Select Model"),
96
  gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.1, label="Temperature")
97
  ],
98
+ outputs=[gr.Textbox(lines=20, label="Advanced Prompt")])
99
 
100
 
101
  if __name__ == "__main__":