Adive01 commited on
Commit
a833b9d
·
verified ·
1 Parent(s): f574adb

Upload frontend/app.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. frontend/app.js +2 -2
frontend/app.js CHANGED
@@ -317,7 +317,7 @@ if (btnSummarize) {
317
 
318
  try {
319
  const body = engine === 'gemini'
320
- ? { text, engine: 'gemini', gemini_model: 'gemini-3.0-flash' }
321
  : {
322
  text,
323
  engine: 'bart',
@@ -326,7 +326,7 @@ if (btnSummarize) {
326
  num_beams: preset.num_beams,
327
  length_penalty: preset.length_penalty,
328
  polish: polishEnabled,
329
- gemini_model: 'gemini-3.0-flash',
330
  };
331
 
332
  const res = await fetch('/api/summarize', {
 
317
 
318
  try {
319
  const body = engine === 'gemini'
320
+ ? { text, engine: 'gemini', gemini_model: 'gemini-2.5-flash' }
321
  : {
322
  text,
323
  engine: 'bart',
 
326
  num_beams: preset.num_beams,
327
  length_penalty: preset.length_penalty,
328
  polish: polishEnabled,
329
+ gemini_model: 'gemini-2.5-flash',
330
  };
331
 
332
  const res = await fetch('/api/summarize', {