Your Name commited on
Commit
785893b
1 Parent(s): 8aa2b48

修改文件命名

Browse files
crazy_functions/下载arxiv论文翻译摘要.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down, get_conf
3
  import re, requests, unicodedata, os
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down, get_conf
3
  import re, requests, unicodedata, os
4
 
crazy_functions/代码重写为全英文_多线程.py CHANGED
@@ -1,5 +1,5 @@
1
  import threading
2
- from predict import predict_no_ui_long_connection
3
  from toolbox import CatchException, write_results_to_file, report_execption
4
 
5
  def extract_code_block_carefully(txt):
 
1
  import threading
2
+ from request_llm.bridge_chatgpt import predict_no_ui_long_connection
3
  from toolbox import CatchException, write_results_to_file, report_execption
4
 
5
  def extract_code_block_carefully(txt):
crazy_functions/总结word文档.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
crazy_functions/批量总结PDF文档.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  import re
4
  import unicodedata
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  import re
4
  import unicodedata
crazy_functions/批量总结PDF文档pdfminer.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
 
4
  fast_debug = False
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
 
4
  fast_debug = False
crazy_functions/生成函数注释.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
crazy_functions/解析项目源代码.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
crazy_functions/读文章写摘要.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui
2
  from toolbox import CatchException, report_execption, write_results_to_file, predict_no_ui_but_counting_down
3
  fast_debug = False
4
 
crazy_functions/高级功能函数模板.py CHANGED
@@ -1,4 +1,4 @@
1
- from predict import predict_no_ui_long_connection
2
  from toolbox import CatchException, report_execption, write_results_to_file
3
  import datetime
4
 
 
1
+ from request_llm.bridge_chatgpt import predict_no_ui_long_connection
2
  from toolbox import CatchException, report_execption, write_results_to_file
3
  import datetime
4
 
main.py CHANGED
@@ -1,6 +1,6 @@
1
  import os; os.environ['no_proxy'] = '*' # 避免代理网络产生意外污染
2
  import gradio as gr
3
- from predict import predict
4
  from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, DummyWith
5
 
6
  # 建议您复制一个config_private.py放自己的秘密, 如API和代理网址, 避免不小心传github被别人看到
 
1
  import os; os.environ['no_proxy'] = '*' # 避免代理网络产生意外污染
2
  import gradio as gr
3
+ from request_llm.bridge_chatgpt import predict
4
  from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, DummyWith
5
 
6
  # 建议您复制一个config_private.py放自己的秘密, 如API和代理网址, 避免不小心传github被别人看到
predict.py → request_llm/bridge_chatgpt.py RENAMED
File without changes
toolbox.py CHANGED
@@ -39,7 +39,7 @@ def predict_no_ui_but_counting_down(i_say, i_say_show_user, chatbot, top_p, temp
39
  long_connection: 是否采用更稳定的连接方式(推荐)
40
  """
41
  import time
42
- from predict import predict_no_ui, predict_no_ui_long_connection
43
  from toolbox import get_conf
44
  TIMEOUT_SECONDS, MAX_RETRY = get_conf('TIMEOUT_SECONDS', 'MAX_RETRY')
45
  # 多线程的时候,需要一个mutable结构在不同线程之间传递信息
 
39
  long_connection: 是否采用更稳定的连接方式(推荐)
40
  """
41
  import time
42
+ from request_llm.bridge_chatgpt import predict_no_ui, predict_no_ui_long_connection
43
  from toolbox import get_conf
44
  TIMEOUT_SECONDS, MAX_RETRY = get_conf('TIMEOUT_SECONDS', 'MAX_RETRY')
45
  # 多线程的时候,需要一个mutable结构在不同线程之间传递信息