gokaygokay commited on
Commit
e066c2f
1 Parent(s): f4d4cf9

Update ui_components.py

Browse files
Files changed (1) hide show
  1. ui_components.py +2 -2
ui_components.py CHANGED
@@ -133,10 +133,10 @@ def create_interface():
133
  llm_provider = gr.Dropdown(
134
  choices=["Hugging Face", "Groq", "SambaNova", "OpenAI", "Anthropic"],
135
  label="LLM Provider",
136
- value="Groq"
137
  )
138
  api_key = gr.Textbox(label="API Key", type="password", visible=False)
139
- model = gr.Dropdown(label="Model", choices=["llama-3.1-70b-versatile", "mixtral-8x7b-32768", "gemma2-9b-it"], value="llama-3.1-70b-versatile")
140
 
141
  generate_text_button = gr.Button("Generate Prompt with LLM")
142
  text_output = gr.Textbox(label="Generated Text", lines=10, show_copy_button=True)
 
133
  llm_provider = gr.Dropdown(
134
  choices=["Hugging Face", "Groq", "SambaNova", "OpenAI", "Anthropic"],
135
  label="LLM Provider",
136
+ value="Hugging Face"
137
  )
138
  api_key = gr.Textbox(label="API Key", type="password", visible=False)
139
+ model = gr.Dropdown(label="Model", choices=["Qwen/Qwen2.5-72B-Instruct", "meta-llama/Meta-Llama-3.1-70B-Instruct", "mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.3"], value="Qwen/Qwen2.5-72B-Instruct")
140
 
141
  generate_text_button = gr.Button("Generate Prompt with LLM")
142
  text_output = gr.Textbox(label="Generated Text", lines=10, show_copy_button=True)