diana3135 commited on
Commit
d7b5f85
·
1 Parent(s): 3d34e89

rename buttons and instructions

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. instructions.py +9 -8
app.py CHANGED
@@ -194,7 +194,7 @@ if __name__ == "__main__":
194
  word_count_display_a = gr.Label(value="Word count: 0")
195
  human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_a)
196
  with gr.Row():
197
- submit_btn = gr.Button("Submit")
198
  with gr.Row():
199
  ai_output = gr.Textbox(label="AI Output")
200
  session_index = gr.Number(label="Session Index", visible=False)
@@ -308,9 +308,9 @@ if __name__ == "__main__":
308
  word_count_display_c = gr.Label(value="Word count: 0")
309
  human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_c)
310
  with gr.Row():
311
- create_btn = gr.Button("Create")
312
  with gr.Row():
313
- ai_initial_output = gr.Textbox(label="AI Initial Output")
314
  final_output = gr.Textbox(label="Final Merged Output")
315
  session_index = gr.Number(label="Session Index", visible=False)
316
 
 
194
  word_count_display_a = gr.Label(value="Word count: 0")
195
  human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_a)
196
  with gr.Row():
197
+ submit_btn = gr.Button("Submit & See AI Output")
198
  with gr.Row():
199
  ai_output = gr.Textbox(label="AI Output")
200
  session_index = gr.Number(label="Session Index", visible=False)
 
308
  word_count_display_c = gr.Label(value="Word count: 0")
309
  human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_c)
310
  with gr.Row():
311
+ create_btn = gr.Button("Submit & See AI Output")
312
  with gr.Row():
313
+ ai_initial_output = gr.Textbox(label="AI Output")
314
  final_output = gr.Textbox(label="Final Merged Output")
315
  session_index = gr.Number(label="Session Index", visible=False)
316
 
instructions.py CHANGED
@@ -3,11 +3,11 @@ def group_a_instructions():
3
  instructions ='''
4
  You can now start the experiment by following these steps:
5
  1. Carefully read the contents in the "Task Description" box.
6
- 2. Enter your ideas in the "Human Input" box.
7
- 3. Click the "Create" button to see the AI answer in the "AI Output" box.
8
  4. Click the "Save Data" button to finish the experiment.
9
 
10
- You can try different inputs and click the "Create" button to see how the AI integrates your ideas.
11
  '''
12
  return instructions
13
 
@@ -17,8 +17,8 @@ def group_b_instructions():
17
  You can now start the experiment by following these steps:
18
  1. Carefully read the contents in the "Task Description" box.
19
  2. Click the "Create" button to see the AI-generated answer in the "AI Output" box.
20
- 3. Enter your suggestions for the AI-generated answer in the "Human Input" box.
21
- 4. Click the "Modify" button to see the final answer in the "Final Answer" box.
22
  5. Click the "Save Data" button to finish the experiment.
23
 
24
  You can click the "Create" button to refresh the AI-generated answer. You can also input different suggestions and click the "Modify" button to see how the AI refines the answer.
@@ -31,9 +31,10 @@ def group_c_instructions():
31
  instructions ='''
32
  You can now start the experiment by following these steps:
33
  1. Carefully read the contents in the "Task Description" box.
34
- 2. Enter your ideas in the "Human Input" box.
35
- 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.
36
- 4. Click the "Save Data" button to finish the experiment.
 
37
 
38
  You can try different inputs and click the "Create" button to see how they are merged with the AI-generated answer.
39
  '''
 
3
  instructions ='''
4
  You can now start the experiment by following these steps:
5
  1. Carefully read the contents in the "Task Description" box.
6
+ 2. Enter your 3 ideas in the text box.
7
+ 3. Click the "Submit & See AI Output" button to see the AI answer in the "AI Output" box.
8
  4. Click the "Save Data" button to finish the experiment.
9
 
10
+ You can try different inputs and click the "Submit & See AI Output" button to see how the AI integrates your ideas.
11
  '''
12
  return instructions
13
 
 
17
  You can now start the experiment by following these steps:
18
  1. Carefully read the contents in the "Task Description" box.
19
  2. Click the "Create" button to see the AI-generated answer in the "AI Output" box.
20
+ 3. Enter your 3 ideas integrating the AI-generated answer in the text box.
21
+ 4. Click the "Submit" button to see the final answer in the "Final Answer" box.
22
  5. Click the "Save Data" button to finish the experiment.
23
 
24
  You can click the "Create" button to refresh the AI-generated answer. You can also input different suggestions and click the "Modify" button to see how the AI refines the answer.
 
31
  instructions ='''
32
  You can now start the experiment by following these steps:
33
  1. Carefully read the contents in the "Task Description" box.
34
+ 2. Enter your ideas in the text box.
35
+ 3. Click the "Submit & See AI Output" button to see the AI-generated answer in the "AI Output" box
36
+ 4. Click "Merge" to see the merged final answer in the "Final Merged Output" box.
37
+ 5. Click the "Save Data" button to finish the experiment.
38
 
39
  You can try different inputs and click the "Create" button to see how they are merged with the AI-generated answer.
40
  '''