Spaces:
Sleeping
Sleeping
change default next step instructions
Browse files- app.py +1 -1
- 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
|
| 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 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
| 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.
|
| 20 |
-
2.
|
| 21 |
-
3. Click "Create"
|
| 22 |
-
4. Evaluate the
|
| 23 |
-
5. Click
|
| 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.
|
| 33 |
-
2. Click "Create"
|
| 34 |
-
3. Enter
|
| 35 |
-
4.
|
| 36 |
-
5. Evaluate the
|
| 37 |
-
6. Click
|
| 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 |
|