YC-Chen commited on
Commit
4256adf
1 Parent(s): 72f3ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -149,6 +149,7 @@ with gr.Blocks() as demo:
149
  "temperature": float(temperature),
150
  "top_p": float(top_p),
151
  "max_new_tokens": int(max_new_tokens),
 
152
  }
153
  }
154
 
 
149
  "temperature": float(temperature),
150
  "top_p": float(top_p),
151
  "max_new_tokens": int(max_new_tokens),
152
+ "repetition_penalty": 1.1
153
  }
154
  }
155