gokaygokay commited on
Commit
7cc05e2
1 Parent(s): 42d852c
Files changed (1) hide show
  1. ui_components.py +7 -7
ui_components.py CHANGED
@@ -129,13 +129,13 @@ def create_interface():
129
  custom_base_prompt = gr.Textbox(label="Custom Base Prompt", lines=5)
130
 
131
  # Add new components for LLM provider selection
132
- llm_provider = gr.Dropdown(
133
- choices=["Hugging Face", "OpenAI", "Anthropic", "Groq"],
134
- label="LLM Provider",
135
- value="Hugging Face"
136
- )
137
- api_key = gr.Textbox(label="API Key", type="password", visible=False)
138
- model = gr.Dropdown(label="Model", choices=["meta-llama/Meta-Llama-3.1-70B-Instruct"], value="meta-llama/Meta-Llama-3.1-70B-Instruct")
139
 
140
  generate_text_button = gr.Button("Generate Prompt with LLM")
141
  text_output = gr.Textbox(label="Generated Text", lines=10, show_copy_button=True)
 
129
  custom_base_prompt = gr.Textbox(label="Custom Base Prompt", lines=5)
130
 
131
  # Add new components for LLM provider selection
132
+ llm_provider = gr.Dropdown(
133
+ choices=["Hugging Face", "OpenAI", "Anthropic", "Groq"],
134
+ label="LLM Provider",
135
+ value="Hugging Face"
136
+ )
137
+ api_key = gr.Textbox(label="API Key", type="password", visible=False)
138
+ model = gr.Dropdown(label="Model", choices=["meta-llama/Meta-Llama-3.1-70B-Instruct"], value="meta-llama/Meta-Llama-3.1-70B-Instruct")
139
 
140
  generate_text_button = gr.Button("Generate Prompt with LLM")
141
  text_output = gr.Textbox(label="Generated Text", lines=10, show_copy_button=True)