lossLopes commited on
Commit
7d64f09
·
1 Parent(s): 3a8d738

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ tokenizer = AutoTokenizer.from_pretrained(checkpoint)
111
  model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
112
 
113
 
114
- def summarize_and_display(text):
115
  summary = summarize_text(text, tokenizer, model)
116
  return summary
117
 
 
111
  model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
112
 
113
 
114
+ def summarize_and_display(text, button_click_event, interface_state):
115
  summary = summarize_text(text, tokenizer, model)
116
  return summary
117