Spaces:
Running
Running
chagne gpt-4-turbo as default model in the demo to save fee
Browse files
app.py
CHANGED
|
@@ -378,8 +378,8 @@ with gr.Blocks() as demo:
|
|
| 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 and gpt-4-turbo is cheaper)"
|
| 383 |
)
|
| 384 |
with gr.Row():
|
| 385 |
inp = gr.File(file_types=[".json"])
|
|
|
|
| 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-turbo",
|
| 382 |
+
label="Select GPt-4 model version (gpt-4-0613 is the default in the paper and gpt-4-turbo is cheaper)"
|
| 383 |
)
|
| 384 |
with gr.Row():
|
| 385 |
inp = gr.File(file_types=[".json"])
|