gregorlied commited on
Commit
37f7b42
Β·
verified Β·
1 Parent(s): 2561726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,7 +109,7 @@ def summarize(text):
109
  # temperature=0.6,
110
  min_new_tokens=50,
111
  max_new_tokens=2048,
112
- logits_processor=[xgr_logits_processor]
113
  )
114
 
115
  generated_ids = [
@@ -175,7 +175,7 @@ with gr.Blocks() as demo:
175
  fn=summarize,
176
  inputs=input_text,
177
  outputs=output_text,
178
- # cache_examples="lazy",
179
  )
180
 
181
  summarize_btn.click(
 
109
  # temperature=0.6,
110
  min_new_tokens=50,
111
  max_new_tokens=2048,
112
+ # logits_processor=[xgr_logits_processor]
113
  )
114
 
115
  generated_ids = [
 
175
  fn=summarize,
176
  inputs=input_text,
177
  outputs=output_text,
178
+ cache_examples="lazy",
179
  )
180
 
181
  summarize_btn.click(