fl399 commited on
Commit
96f8aa7
1 Parent(s): 7118ed5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -226,8 +226,9 @@ with gr.Blocks(theme=theme) as demo:
226
  #input_image.style(height=512, width=512)
227
  instruction = gr.Textbox(placeholder="Enter your instruction/question...", label="Question/Instruction")
228
  llm = gr.Dropdown(["alpaca-lora", "flan-ul2", "gpt-3.5-turbo"], label="LLM")
229
- openai_api_key_textbox = gr.Textbox(placeholder="Paste your OpenAI API key (sk-...) and hit Enter (if using OpenAI models, otherwise leave empty)",
230
- show_label=False, lines=1, type='password')
 
231
  submit = gr.Button("Submit", variant="primary")
232
 
233
  with gr.Column(scale=2):
 
226
  #input_image.style(height=512, width=512)
227
  instruction = gr.Textbox(placeholder="Enter your instruction/question...", label="Question/Instruction")
228
  llm = gr.Dropdown(["alpaca-lora", "flan-ul2", "gpt-3.5-turbo"], label="LLM")
229
+ openai_api_key_textbox = gr.Textbox(value='',
230
+ placeholder="Paste your OpenAI API key (sk-...) and hit Enter (if using OpenAI models, otherwise leave empty)",
231
+ show_label=False, lines=1, type='password')
232
  submit = gr.Button("Submit", variant="primary")
233
 
234
  with gr.Column(scale=2):