Siyuan0730 commited on
Commit
ae8b477
·
1 Parent(s): 5b1d121
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -172,7 +172,6 @@ def searchVDB(search_sentence, paraphrase_embeddings_df, index):
172
  return retrieved_chunks_list
173
 
174
  def generateCourse(topic, materials, language, style_options):
175
- #调用gpt4 API生成一节课的内容
176
  system_message = 'You are a great AI teacher and linguist, skilled at writing informative and easy-to-understand course script based on given lesson topic and knowledge materials.'
177
 
178
  user_message = f"""You are a great AI teacher and linguist,
@@ -413,16 +412,7 @@ def app():
413
  <img src="https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/WX20231103-215001@2x.png" height = "200" />
414
 
415
  <img src="https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/WX20231103-214916@2x.png" height = "200" />
416
-
417
- ---
418
-
419
- ### 💰 Support by donation 捐款支持
420
-
421
- - 如果OmniTutor对你有所帮助,请捐款赞助。因为每位用户的每次课程生成,都会产生一定的费用。个人开发者维护不易
422
- - Please donate to support. Because each course generated by each user will incur a certain cost for me.
423
-
424
- <img src="https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/20231110145229.png" height = "260" />
425
-
426
  ---
427
 
428
  ### 🙌 Contact me 联系我
 
172
  return retrieved_chunks_list
173
 
174
  def generateCourse(topic, materials, language, style_options):
 
175
  system_message = 'You are a great AI teacher and linguist, skilled at writing informative and easy-to-understand course script based on given lesson topic and knowledge materials.'
176
 
177
  user_message = f"""You are a great AI teacher and linguist,
 
412
  <img src="https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/WX20231103-215001@2x.png" height = "200" />
413
 
414
  <img src="https://siyuan-harry.oss-cn-beijing.aliyuncs.com/oss://siyuan-harry/WX20231103-214916@2x.png" height = "200" />
415
+
 
 
 
 
 
 
 
 
 
416
  ---
417
 
418
  ### 🙌 Contact me 联系我