gokaygokay
commited on
Commit
•
4c39c86
1
Parent(s):
754b512
trial
Browse files
app.py
CHANGED
@@ -60,10 +60,10 @@ def create_interface():
|
|
60 |
llm_provider = gr.Dropdown(
|
61 |
choices=["Hugging Face", "Groq", "SambaNova"],
|
62 |
label="LLM Provider",
|
63 |
-
value="
|
64 |
)
|
65 |
api_key = gr.Textbox(label="API Key", type="password", visible=False)
|
66 |
-
model = gr.Dropdown(label="Model", choices=[], value="")
|
67 |
|
68 |
# **Single Button for Generating Prompt and Text**
|
69 |
generate_button = gr.Button("Generate Random Prompt with LLM")
|
|
|
60 |
llm_provider = gr.Dropdown(
|
61 |
choices=["Hugging Face", "Groq", "SambaNova"],
|
62 |
label="LLM Provider",
|
63 |
+
value="Groq"
|
64 |
)
|
65 |
api_key = gr.Textbox(label="API Key", type="password", visible=False)
|
66 |
+
model = gr.Dropdown(label="Model", choices=["llama-3.1-70b-versatile", "mixtral-8x7b-32768", "gemma2-9b-it"], value="llama-3.1-70b-versatile")
|
67 |
|
68 |
# **Single Button for Generating Prompt and Text**
|
69 |
generate_button = gr.Button("Generate Random Prompt with LLM")
|