Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -180,16 +180,16 @@ st.title("How can I help?")
|
|
180 |
option_ = ['Random Questions','Questions based on custom CSV data']
|
181 |
Usage = st.selectbox('Select an option:', option_)
|
182 |
if Usage == 'Questions based on custom CSV data':
|
183 |
-
st.text('''
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
|
191 |
option = ['Sample_Cars_csv','Upload_csv']
|
192 |
-
res = st.selectbox('Select
|
193 |
if res == 'Upload_csv':
|
194 |
uploaded_file = st.file_uploader("Add dataset (csv) ",type=['csv'])
|
195 |
if uploaded_file is not None:
|
@@ -335,13 +335,14 @@ if Usage == 'Questions based on custom CSV data':
|
|
335 |
|
336 |
|
337 |
elif Usage == 'Random Questions':
|
338 |
-
st.text('''You can ask me
|
339 |
-
1.
|
340 |
-
2.
|
341 |
-
3. Music
|
342 |
-
4.
|
343 |
-
5.
|
344 |
-
6.
|
|
|
345 |
|
346 |
Input_type = st.radio(
|
347 |
"**Input type:**",
|
|
|
180 |
option_ = ['Random Questions','Questions based on custom CSV data']
|
181 |
Usage = st.selectbox('Select an option:', option_)
|
182 |
if Usage == 'Questions based on custom CSV data':
|
183 |
+
st.text('''
|
184 |
+
You can use your own custom csv files to test this feature or
|
185 |
+
you can use the sample csv file which contains data about cars.
|
186 |
+
|
187 |
+
Example question:
|
188 |
+
- How many cars were manufactured each year between 2000 to 2008?
|
189 |
+
''')
|
190 |
|
191 |
option = ['Sample_Cars_csv','Upload_csv']
|
192 |
+
res = st.selectbox('Select from below options:',option)
|
193 |
if res == 'Upload_csv':
|
194 |
uploaded_file = st.file_uploader("Add dataset (csv) ",type=['csv'])
|
195 |
if uploaded_file is not None:
|
|
|
335 |
|
336 |
|
337 |
elif Usage == 'Random Questions':
|
338 |
+
st.text('''You can ask me:
|
339 |
+
1. All the things you ask ChatGPT.
|
340 |
+
2. Generating paintings, drawings, abstract art.
|
341 |
+
3. Music or Videos
|
342 |
+
4. Weather
|
343 |
+
5. Stocks
|
344 |
+
6. Current Affairs and News.
|
345 |
+
7. Create or compose tweets or Linkedin posts or email.''')
|
346 |
|
347 |
Input_type = st.radio(
|
348 |
"**Input type:**",
|