Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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(
|