Adam-Ben-Khalifa commited on
Commit
ae07b8b
1 Parent(s): 0f24f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -91,11 +91,14 @@ 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=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__":
 
91
 
92
  demo = gr.Interface(fn=advancedPromptPipeline,
93
  inputs=[
94
+ gr.Textbox(lines=10, placeholder="Enter your prompt", label="Input Prompt", min_width=100),
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=[
99
+ gr.Textbox(lines=20, label="Advanced Prompt", show_copy_button=True, autoscroll=False, min_width=220),
100
+ ]
101
+ )
102
 
103
 
104
  if __name__ == "__main__":