Spaces:
Sleeping
Sleeping
Siyuan0730
commited on
Commit
·
960d495
1
Parent(s):
9abc2ca
github repo version update
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def download_nltk():
|
|
23 |
nltk.download('stopwords')
|
24 |
|
25 |
def chunkstring(string, length):
|
26 |
-
|
27 |
|
28 |
def pdf_parser(input_pdf):
|
29 |
pdf = PdfReader(input_pdf)
|
@@ -378,7 +378,8 @@ def app():
|
|
378 |
st.session_state.description = st.markdown('''
|
379 |
<font color = 'grey'> An all-round teacher. A teaching assistant who really knows the subject. **Anything. Anywhere. All at once.** </font> :100:
|
380 |
|
381 |
-
Github Repo: https://github.com/Siyuan-Harry/OmniTutor
|
|
|
382 |
|
383 |
### ✨ Key features
|
384 |
|
@@ -473,9 +474,7 @@ def app():
|
|
473 |
divider.empty()
|
474 |
|
475 |
with col1:
|
476 |
-
#把课程大纲打印出来
|
477 |
regenerate_outline(st.session_state.course_outline_list)
|
478 |
-
#把课程内容打印出来
|
479 |
regenerate_content(st.session_state.course_content_list)
|
480 |
|
481 |
with col2:
|
|
|
23 |
nltk.download('stopwords')
|
24 |
|
25 |
def chunkstring(string, length):
|
26 |
+
return (string[0+i:length+i] for i in range(0, len(string), length))
|
27 |
|
28 |
def pdf_parser(input_pdf):
|
29 |
pdf = PdfReader(input_pdf)
|
|
|
378 |
st.session_state.description = st.markdown('''
|
379 |
<font color = 'grey'> An all-round teacher. A teaching assistant who really knows the subject. **Anything. Anywhere. All at once.** </font> :100:
|
380 |
|
381 |
+
Github Repo (for this prototype version): https://github.com/Siyuan-Harry/OmniTutor
|
382 |
+
- Github Repo (for **OmniTutor 2.0**): https://github.com/Siyuan-Harry/OmniTutor_2
|
383 |
|
384 |
### ✨ Key features
|
385 |
|
|
|
474 |
divider.empty()
|
475 |
|
476 |
with col1:
|
|
|
477 |
regenerate_outline(st.session_state.course_outline_list)
|
|
|
478 |
regenerate_content(st.session_state.course_content_list)
|
479 |
|
480 |
with col2:
|