Spaces:
Sleeping
Sleeping
diana3135
commited on
Commit
·
d9bf9eb
1
Parent(s):
9fb2157
human input text box labels
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ if __name__ == "__main__":
|
|
| 202 |
|
| 203 |
with group_a_content:
|
| 204 |
with gr.Row():
|
| 205 |
-
human_input = gr.Textbox(label="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)")
|
| 206 |
word_count_display_a = gr.Label(value="Word count: 0")
|
| 207 |
human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_a)
|
| 208 |
with gr.Row():
|
|
@@ -250,7 +250,7 @@ if __name__ == "__main__":
|
|
| 250 |
create_initial_btn = gr.Button("Create")
|
| 251 |
with gr.Row():
|
| 252 |
initial_answer = gr.Textbox(label="AI Output")
|
| 253 |
-
modification_suggestions = gr.Textbox(label="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)")
|
| 254 |
word_count_display_b = gr.Label(value="Word count: 0")
|
| 255 |
modification_suggestions.change(fn=update_word_count, inputs=modification_suggestions, outputs=word_count_display_b)
|
| 256 |
with gr.Row():
|
|
@@ -305,7 +305,7 @@ if __name__ == "__main__":
|
|
| 305 |
|
| 306 |
with group_c_content:
|
| 307 |
with gr.Row():
|
| 308 |
-
human_input = gr.Textbox(label="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)"
|
| 309 |
word_count_display_c = gr.Label(value="Word count: 0")
|
| 310 |
human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_c)
|
| 311 |
with gr.Row():
|
|
|
|
| 202 |
|
| 203 |
with group_a_content:
|
| 204 |
with gr.Row():
|
| 205 |
+
human_input = gr.Textbox(label="Enter each idea on a new line, starting with '1', '2', and '3' (use Shift+Enter for new lines)", placeholder="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)")
|
| 206 |
word_count_display_a = gr.Label(value="Word count: 0")
|
| 207 |
human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_a)
|
| 208 |
with gr.Row():
|
|
|
|
| 250 |
create_initial_btn = gr.Button("Create")
|
| 251 |
with gr.Row():
|
| 252 |
initial_answer = gr.Textbox(label="AI Output")
|
| 253 |
+
modification_suggestions = gr.Textbox(label="Enter each idea on a new line, starting with '1', '2', and '3' (use Shift+Enter for new lines)", placeholder="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)")
|
| 254 |
word_count_display_b = gr.Label(value="Word count: 0")
|
| 255 |
modification_suggestions.change(fn=update_word_count, inputs=modification_suggestions, outputs=word_count_display_b)
|
| 256 |
with gr.Row():
|
|
|
|
| 305 |
|
| 306 |
with group_c_content:
|
| 307 |
with gr.Row():
|
| 308 |
+
human_input = gr.Textbox(label="Enter each idea on a new line, starting with '1', '2', and '3' (use Shift+Enter for new lines)", placeholder="Please propose 3 ideas to help Airbnb’s business model align with 17 SDGs (At least 50 words)")
|
| 309 |
word_count_display_c = gr.Label(value="Word count: 0")
|
| 310 |
human_input.change(fn=update_word_count, inputs=human_input, outputs=word_count_display_c)
|
| 311 |
with gr.Row():
|