Spaces:
Running
Running
chagne gpt-4.1 as default model
Browse files
app.py
CHANGED
|
@@ -377,9 +377,9 @@ with gr.Blocks() as demo:
|
|
| 377 |
gr.Markdown(markdown)
|
| 378 |
key = gr.Textbox(label=f"Enter your OpenAI API Key (this space will not save your API Key). [Pay Attention]: this evaluaiton may cost several dollars, please notice your OpenAI API Key balance.", type="password")
|
| 379 |
model = gr.Dropdown(
|
| 380 |
-
choices=["gpt-4-0613", "gpt-4-turbo"],
|
| 381 |
-
value="gpt-4
|
| 382 |
-
label="Select GPt-4 model version (gpt-4-0613 is the default in the paper
|
| 383 |
)
|
| 384 |
with gr.Row():
|
| 385 |
inp = gr.File(file_types=[".json"])
|
|
|
|
| 377 |
gr.Markdown(markdown)
|
| 378 |
key = gr.Textbox(label=f"Enter your OpenAI API Key (this space will not save your API Key). [Pay Attention]: this evaluaiton may cost several dollars, please notice your OpenAI API Key balance.", type="password")
|
| 379 |
model = gr.Dropdown(
|
| 380 |
+
choices=["gpt-4-0613", "gpt-4.1", "gpt-4-turbo"],
|
| 381 |
+
value="gpt-4.1",
|
| 382 |
+
label="Select GPt-4 model version (gpt-4-0613 is the default in the paper). Price per 1M input tokens: gpt-4.1 $2.00, gpt-4-turbo $10.00, gpt-4-0613 $30.00"
|
| 383 |
)
|
| 384 |
with gr.Row():
|
| 385 |
inp = gr.File(file_types=[".json"])
|