Spaces:
Running
Running
Update app/webui/app.py
Browse files- app/webui/app.py +4 -4
app/webui/app.py
CHANGED
@@ -115,18 +115,18 @@ with gr.Blocks(theme="soft", css=CSS, fill_height=True) as demo:
|
|
115 |
endpoint = gr.Dropdown(
|
116 |
label="Endpoint",
|
117 |
choices=["Groq","OpenAI","Cohere","TogetherAI","Ollama","Huggingface"],
|
118 |
-
value="
|
119 |
)
|
120 |
choice = gr.Checkbox(label="Second Endpoint", info="Add second endpoint for reflection")
|
121 |
-
model = gr.Textbox(label="Model", value="
|
122 |
api_key = gr.Textbox(label="API_KEY", type="password", )
|
123 |
endpoint2 = gr.Dropdown(
|
124 |
label="Endpoint 2",
|
125 |
choices=["Groq","OpenAI","Cohere","TogetherAI","Ollama","Huggingface"],
|
126 |
-
value="
|
127 |
visible=False,
|
128 |
)
|
129 |
-
model2 = gr.Textbox(label="Model 2", value="
|
130 |
api_key2 = gr.Textbox(label="API_KEY 2", type="password", visible=False,)
|
131 |
source_lang = gr.Textbox(
|
132 |
label="Source Lang",
|
|
|
115 |
endpoint = gr.Dropdown(
|
116 |
label="Endpoint",
|
117 |
choices=["Groq","OpenAI","Cohere","TogetherAI","Ollama","Huggingface"],
|
118 |
+
value="Huggingface",
|
119 |
)
|
120 |
choice = gr.Checkbox(label="Second Endpoint", info="Add second endpoint for reflection")
|
121 |
+
model = gr.Textbox(label="Model", value="mistralai/Mistral-7B-Instruct-v0.3", )
|
122 |
api_key = gr.Textbox(label="API_KEY", type="password", )
|
123 |
endpoint2 = gr.Dropdown(
|
124 |
label="Endpoint 2",
|
125 |
choices=["Groq","OpenAI","Cohere","TogetherAI","Ollama","Huggingface"],
|
126 |
+
value="Groq",
|
127 |
visible=False,
|
128 |
)
|
129 |
+
model2 = gr.Textbox(label="Model 2", value="llama3-70b-8192", visible=False, )
|
130 |
api_key2 = gr.Textbox(label="API_KEY 2", type="password", visible=False,)
|
131 |
source_lang = gr.Textbox(
|
132 |
label="Source Lang",
|