Spaces:
Sleeping
Sleeping
Update app.py
Browse files120 unmodified lines121122123124125126127120 unmodified lines# Link the dropdowns so that the option dropdown updates based on the selected prompt manipulationprompt_manipulation.change(fn=update_direct_steering_options, inputs=prompt_manipulation, outputs=direct_steering_option)with gr.Row():api_key_input = gr.Textbox(label="API Key", placeholder="Enter your API key here", show_label=True, type="password")user_input = gr.Textbox(label="Prompt", placeholder="Enter your message here")120 unmodified lines121122123124125126127128129130131132120 unmodified lines# Link the dropdowns so that the option dropdown updates based on the selected prompt manipulationprompt_manipulation.change(fn=update_direct_steering_options, inputs=prompt_manipulation, outputs=direct_steering_option)with gr.Row():gr.Text(value="OR:", element_id="or_label", visible=True, style={"justify-content": "center", "align-items": "center", "font-size": "20px", "height": "50px"})with gr.Row():user_input1 = gr.Textbox(label="Prompt", placeholder="Enter your message here")with gr.Row():api_key_input = gr.Textbox(label="API Key", placeholder="Enter your API key here", show_label=True, type="password")user_input = gr.Textbox(label="Prompt", placeholder="Enter your message here")
app.py+6-1