Funbi commited on
Commit
15fafd5
·
1 Parent(s): ad0a7b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ def summarize(text,type_of_text , summary_highlight(optional)=None ):
4
  if summary_highlight(optional) == None:
5
  sum= summ(text)
6
  else:
7
- sum = summ(text, query=summary_highlight(optional)
8
  return sum
9
 
10
  demo = gr.Interface(
 
4
  if summary_highlight(optional) == None:
5
  sum= summ(text)
6
  else:
7
+ sum = summ(text, query=summary_highlight(optional))
8
  return sum
9
 
10
  demo = gr.Interface(