zns0327 commited on
Commit
d248439
·
1 Parent(s): a924fe5

change default next step instructions

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. instructions.py +18 -16
app.py CHANGED
@@ -127,7 +127,7 @@ if __name__ == "__main__":
127
  with gr.Row():
128
  identification_code = gr.Textbox(label="Enter your identification code")
129
  login_button = gr.Button("Login")
130
- login_status = gr.Textbox(label="Next Steps", interactive=False)
131
  group = gr.State()
132
 
133
  task = gr.Textbox(label="Task Description",
 
127
  with gr.Row():
128
  identification_code = gr.Textbox(label="Enter your identification code")
129
  login_button = gr.Button("Login")
130
+ login_status = gr.Textbox(label="Next Tasks", interactive=False)
131
  group = gr.State()
132
 
133
  task = gr.Textbox(label="Task Description",
instructions.py CHANGED
@@ -3,11 +3,13 @@ def group_a_instructions():
3
  instructions ='''
4
  Congratulations! You are verified.
5
  You can now start the experiment by following these steps:
6
- 1. Describe the task you in " Task Description" box. Default Task Description is given below.
7
- 2. Write your answer in the "Human Input" box.
8
- 3. Click "Create", see the ai modified answer in "AI Modified Output" box.
9
- 4. Evaluate the answer by clicking "Evaluate".
10
- 5. Click on "Save Data" to finish the experiment.
 
 
11
  '''
12
  return instructions
13
 
@@ -16,11 +18,11 @@ def group_b_instructions():
16
  instructions ='''
17
  Congratulations! You are verified.
18
  You can now start the experiment by following these steps:
19
- 1. Describe the task you in " Task Description" box. Default Task Description is given below.
20
- 2. Write your answer in the "Human Input" box.
21
- 3. Click "Create", see the ai generated answer in "AI Initial Output" box, AND the merged answer in "Final Merged Output" box.
22
- 4. Evaluate the answer by clicking "Evaluate".
23
- 5. Click on "Save Data" to finish the experiment.
24
  '''
25
  return instructions
26
 
@@ -29,12 +31,12 @@ def group_c_instructions():
29
  instructions ='''
30
  Congratulations! You are verified.
31
  You can now start the experiment by following these steps:
32
- 1. Describe the task you in " Task Description" box. Default Task Description is given below.
33
- 2. Click "Create", see the ai generated answer in "AI Initial Answer" box.
34
- 3. Enter any suggestions you have for the generated answer in "Modification Suggestions" box and click "Modify".
35
- 4. You will see the final answer in "Final Answer" box.
36
- 5. Evaluate the answer by clicking "Evaluate".
37
- 6. Click on "Save Data" to finish the experiment.
38
  '''
39
  return instructions
40
 
 
3
  instructions ='''
4
  Congratulations! You are verified.
5
  You can now start the experiment by following these steps:
6
+
7
+ 1. Carefully read the contents in the "Task Description" box.
8
+ 2. Enter your ideas in the "Human Input" box.
9
+ 3. Click the "Create" button to see the AI-refined answer in the "AI Modified Output" box.
10
+ 4. Click the "Evaluate" button to view the evaluations of the answer.
11
+ 5. Click the "Save Data" button to finish the experiment.
12
+
13
  '''
14
  return instructions
15
 
 
18
  instructions ='''
19
  Congratulations! You are verified.
20
  You can now start the experiment by following these steps:
21
+ 1. Carefully read the contents in the "Task Description" box.
22
+ 2. Enter your ideas in the "Human Input" box.
23
+ 3. Click the "Create" button to see the AI-generated answer in the "AI Initial Output" box and the merged answer in the "Final Merged Output" box.
24
+ 4. Click the "Evaluate" button to view the evaluations of the answer.
25
+ 5. Click the "Save Data" button to finish the experiment.
26
  '''
27
  return instructions
28
 
 
31
  instructions ='''
32
  Congratulations! You are verified.
33
  You can now start the experiment by following these steps:
34
+ 1. Carefully read the contents in the "Task Description" box.
35
+ 2. Click the "Create" button to see the AI-generated answer in the "AI Initial Answer" box.
36
+ 3. Enter your suggestions for the AI-generated answer in the "Modification Suggestions" box.
37
+ 4. Click the "Modify" button to see the final answer in the "Final Answer" box.
38
+ 5. Click the "Evaluate" button to view the evaluations of the answer.
39
+ 6. Click the "Save Data" button to finish the experiment.
40
  '''
41
  return instructions
42