Spaces:
Sleeping
Sleeping
Markdown
Browse files
app.py
CHANGED
@@ -37,18 +37,18 @@ with gr.Blocks() as demo:
|
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|
39 |
# basic inputs
|
40 |
-
gr.
|
41 |
model = gr.Radio(["gpt-4-1106-preview", "gpt-3.5-turbo"], label="Model")
|
42 |
max_tokens = gr.Slider(minimum=50, maximum=4000, default=1000, label="Max Tokens")
|
43 |
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.")
|
44 |
scenario_input = gr.Textbox(label="Scenario")
|
45 |
eng_level_input = gr.Radio(["beginner", "intermediate", "advanced"], label="English Level")
|
46 |
|
47 |
-
gr.
|
48 |
user_generate_topics_prompt = gr.Textbox(label="User Prompt", value="Give me 10 topics relevant to Scenario, for a paragraph. Just the topics, no explanation, use simple English language. Make sure the vocabulary you use is at english level.")
|
49 |
generate_topics_button = gr.Button("Generate Topic Sentences")
|
50 |
|
51 |
-
# gr.
|
52 |
# topic_input = gr.Textbox(label="Topic")
|
53 |
# generate_points_button = gr.Button("Generate Points")
|
54 |
|
|
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|
39 |
# basic inputs
|
40 |
+
gr.Markdown("## Basic Inputs")
|
41 |
model = gr.Radio(["gpt-4-1106-preview", "gpt-3.5-turbo"], label="Model")
|
42 |
max_tokens = gr.Slider(minimum=50, maximum=4000, default=1000, label="Max Tokens")
|
43 |
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.")
|
44 |
scenario_input = gr.Textbox(label="Scenario")
|
45 |
eng_level_input = gr.Radio(["beginner", "intermediate", "advanced"], label="English Level")
|
46 |
|
47 |
+
gr.Markdown("## Generate Topic Sentences")
|
48 |
user_generate_topics_prompt = gr.Textbox(label="User Prompt", value="Give me 10 topics relevant to Scenario, for a paragraph. Just the topics, no explanation, use simple English language. Make sure the vocabulary you use is at english level.")
|
49 |
generate_topics_button = gr.Button("Generate Topic Sentences")
|
50 |
|
51 |
+
# gr.Markdown("## Generate Points")
|
52 |
# topic_input = gr.Textbox(label="Topic")
|
53 |
# generate_points_button = gr.Button("Generate Points")
|
54 |
|