Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
244 |
#input_image.style(height=512, width=512)
|
245 |
instruction = gr.Textbox(placeholder="Enter your instruction/question...", label="Question/Instruction")
|
246 |
#llm = gr.Dropdown(["alpaca-lora", "flan-ul2", "gpt-3.5-turbo"], label="LLM")
|
247 |
-
|
248 |
openai_api_key_textbox = gr.Textbox(value='',
|
249 |
placeholder="Paste your OpenAI API key (sk-...) and hit Enter (if using OpenAI models, otherwise leave empty)",
|
250 |
show_label=False, lines=1, type='password')
|
|
|
244 |
#input_image.style(height=512, width=512)
|
245 |
instruction = gr.Textbox(placeholder="Enter your instruction/question...", label="Question/Instruction")
|
246 |
#llm = gr.Dropdown(["alpaca-lora", "flan-ul2", "gpt-3.5-turbo"], label="LLM")
|
247 |
+
llm = gr.Dropdown(["flan-ul2", "gpt-3.5-turbo"], label="LLM")
|
248 |
openai_api_key_textbox = gr.Textbox(value='',
|
249 |
placeholder="Paste your OpenAI API key (sk-...) and hit Enter (if using OpenAI models, otherwise leave empty)",
|
250 |
show_label=False, lines=1, type='password')
|