Spaces:
Sleeping
Sleeping
with gr.Row(visible=False) as default_params:
Browse files
app.py
CHANGED
@@ -423,11 +423,10 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
|
|
423 |
# basic inputs 主題與情境
|
424 |
with gr.Row():
|
425 |
with gr.Column():
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
with gr.Row():
|
431 |
eng_level_input = gr.Radio(["beginner", "intermediate", "advanced"], label="English Level", value="beginner")
|
432 |
with gr.Row():
|
433 |
gr.Markdown("# Step 1. 你今天想練習寫什麼呢?")
|
|
|
423 |
# basic inputs 主題與情境
|
424 |
with gr.Row():
|
425 |
with gr.Column():
|
426 |
+
with gr.Row(visible=False) as default_params:
|
427 |
+
model = gr.Radio(["gpt-4o", "gpt-3.5-turbo"], label="Model", value="gpt-4o")
|
428 |
+
max_tokens = gr.Slider(minimum=50, maximum=4000, value=4000, label="Max Tokens")
|
429 |
+
sys_content_input = gr.Textbox(label="System Prompt", value="You are an English teacher who is practicing with me to improve my English writing skill.")
|
|
|
430 |
eng_level_input = gr.Radio(["beginner", "intermediate", "advanced"], label="English Level", value="beginner")
|
431 |
with gr.Row():
|
432 |
gr.Markdown("# Step 1. 你今天想練習寫什麼呢?")
|