Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,9 +274,10 @@ if selected_app == "4) Create Chatbot":
|
|
| 274 |
|
| 275 |
else:
|
| 276 |
organization_name = st.text_input("What is the name of your organization", "")
|
| 277 |
-
|
| 278 |
num_domains = st.number_input("How many datasets do you have uploaded", value=1, step=1, min_value=1, max_value=10)
|
| 279 |
|
|
|
|
|
|
|
| 280 |
domain_info = []
|
| 281 |
for i in range(num_domains):
|
| 282 |
domain_link = st.text_input(f"Please enter link to dataset {i} with the format username/dataset_name", "Example: KeshavRa/About_YSA_Database")
|
|
@@ -287,7 +288,7 @@ if selected_app == "4) Create Chatbot":
|
|
| 287 |
--> Who created YSA?
|
| 288 |
--> What is the Advisory Board for Youth Spirit Artworks?
|
| 289 |
--> What are the three empowerment-focused program areas of YSA?
|
| 290 |
-
|
| 291 |
)
|
| 292 |
domain_instructions = st.text_input(f"What baseline instructions/specifications should be sent to ChatGPT to answer questions in domain {i}", "Example: You are an assistant to help the user learn more about Youth Spirit Artworks")
|
| 293 |
|
|
|
|
| 274 |
|
| 275 |
else:
|
| 276 |
organization_name = st.text_input("What is the name of your organization", "")
|
|
|
|
| 277 |
num_domains = st.number_input("How many datasets do you have uploaded", value=1, step=1, min_value=1, max_value=10)
|
| 278 |
|
| 279 |
+
st.divider()
|
| 280 |
+
|
| 281 |
domain_info = []
|
| 282 |
for i in range(num_domains):
|
| 283 |
domain_link = st.text_input(f"Please enter link to dataset {i} with the format username/dataset_name", "Example: KeshavRa/About_YSA_Database")
|
|
|
|
| 288 |
--> Who created YSA?
|
| 289 |
--> What is the Advisory Board for Youth Spirit Artworks?
|
| 290 |
--> What are the three empowerment-focused program areas of YSA?
|
| 291 |
+
'''
|
| 292 |
)
|
| 293 |
domain_instructions = st.text_input(f"What baseline instructions/specifications should be sent to ChatGPT to answer questions in domain {i}", "Example: You are an assistant to help the user learn more about Youth Spirit Artworks")
|
| 294 |
|