Spaces:
Running
Running
Commit
·
edbda80
1
Parent(s):
dc55e94
11 方便调试
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ def app():
|
|
280 |
with st.sidebar:
|
281 |
st.image("https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/20231021212525.png")
|
282 |
added_files = st.file_uploader('Upload .md file', type=['.md'], accept_multiple_files=True)
|
283 |
-
num_lessons = st.slider('How many lessons do you want this course to have?', min_value=
|
284 |
language = 'English'
|
285 |
Chinese = st.checkbox('Output in Chinese')
|
286 |
if Chinese:
|
@@ -319,7 +319,7 @@ def app():
|
|
319 |
#把课程大纲打印出来
|
320 |
regenerate_outline(st.session_state.course_outline_list)
|
321 |
#把课程内容打印出来
|
322 |
-
regenerate_content(st.session_state.course_content_list)
|
323 |
|
324 |
with col2:
|
325 |
st.caption(''':blue[AI Assistant]: Ask this TA any questions related to this course and get direct answers. :sunglasses:''')
|
|
|
280 |
with st.sidebar:
|
281 |
st.image("https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/20231021212525.png")
|
282 |
added_files = st.file_uploader('Upload .md file', type=['.md'], accept_multiple_files=True)
|
283 |
+
num_lessons = st.slider('How many lessons do you want this course to have?', min_value=2, max_value=15, value=5, step=1)
|
284 |
language = 'English'
|
285 |
Chinese = st.checkbox('Output in Chinese')
|
286 |
if Chinese:
|
|
|
319 |
#把课程大纲打印出来
|
320 |
regenerate_outline(st.session_state.course_outline_list)
|
321 |
#把课程内容打印出来
|
322 |
+
#regenerate_content(st.session_state.course_content_list)
|
323 |
|
324 |
with col2:
|
325 |
st.caption(''':blue[AI Assistant]: Ask this TA any questions related to this course and get direct answers. :sunglasses:''')
|