yfor commited on
Commit
8ccc3c7
·
1 Parent(s): 78b285a

default method

Browse files
Files changed (1) hide show
  1. gpt_analyze.py +3 -3
gpt_analyze.py CHANGED
@@ -13,10 +13,10 @@ from get_markdown import get_markdown
13
 
14
 
15
  def summary(text, api_key=None, method='summary'):
16
- if method == 'summary':
17
- return summary_text(text, api_key)
18
- else:
19
  return get_markdown(text, api_key)
 
 
20
 
21
 
22
  def summary_text(text, api_key=None):
 
13
 
14
 
15
  def summary(text, api_key=None, method='summary'):
16
+ if method == 'markmap':
 
 
17
  return get_markdown(text, api_key)
18
+ else:
19
+ return summary_text(text, api_key)
20
 
21
 
22
  def summary_text(text, api_key=None):