Soumen commited on
Commit
e173dda
1 Parent(s): 382b684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -73,7 +73,6 @@ def engsum(text):
73
  summary_ids = model.generate(inputs, max_length=150, min_length=80, length_penalty=5., num_beams=2)
74
  summary = tokenizer.decode(summary_ids[0])
75
  st.success(summary[5:-4])
76
- @st.cache(suppress_st_warning=True)
77
  def bansum(text):
78
  def query(payload):
79
  response = requests.post(API_URL0, headers=headers0, json=payload)
 
73
  summary_ids = model.generate(inputs, max_length=150, min_length=80, length_penalty=5., num_beams=2)
74
  summary = tokenizer.decode(summary_ids[0])
75
  st.success(summary[5:-4])
 
76
  def bansum(text):
77
  def query(payload):
78
  response = requests.post(API_URL0, headers=headers0, json=payload)