Spaces:
Sleeping
Sleeping
ping98k
commited on
Commit
·
ca4a97e
1
Parent(s):
5a306d7
Update main.py
Browse files
main.py
CHANGED
|
@@ -322,8 +322,8 @@ def run_tournament(
|
|
| 322 |
demo = gr.Interface(
|
| 323 |
fn=run_tournament,
|
| 324 |
inputs=[
|
| 325 |
-
gr.Textbox(value=API_BASE_DEFAULT, label="API Base Path", info="Clone repos and run locally To change the API base path"),
|
| 326 |
-
gr.Textbox(value="", label="
|
| 327 |
gr.Textbox(value=GENERATE_MODEL_DEFAULT, label="Generation Model"),
|
| 328 |
gr.Textbox(value=SCORE_MODEL_DEFAULT, label="Score Model"),
|
| 329 |
gr.Textbox(value=PAIRWISE_MODEL_DEFAULT, label="Pairwise Model"),
|
|
|
|
| 322 |
demo = gr.Interface(
|
| 323 |
fn=run_tournament,
|
| 324 |
inputs=[
|
| 325 |
+
gr.Textbox(value=API_BASE_DEFAULT, label="API Base Path", info="Clone repos and run locally To change the API base path If you leave OPENAI_API_BASE blank, LiteLLM defaults to https://api.openai.com/v1."),
|
| 326 |
+
gr.Textbox(value="", label="OPENAI_API_KEY ", type="password"),
|
| 327 |
gr.Textbox(value=GENERATE_MODEL_DEFAULT, label="Generation Model"),
|
| 328 |
gr.Textbox(value=SCORE_MODEL_DEFAULT, label="Score Model"),
|
| 329 |
gr.Textbox(value=PAIRWISE_MODEL_DEFAULT, label="Pairwise Model"),
|