Omnibus commited on
Commit
4ae7a0f
·
verified ·
1 Parent(s): de7d4e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,7 +19,7 @@ def format_prompt(message, history):
19
 
20
  temperature=0.9
21
  top_p=0.95
22
- repetition_penalty=1.0
23
 
24
  def compress_history(history,temperature=temperature,top_p=top_p,repetition_penalty=repetition_penalty):
25
  print("COMPRESSING")
@@ -135,10 +135,10 @@ base_stats=[
135
  {"Health":100,"Power":20,"Strength":24},
136
  ]
137
  text_stats='''*******************
138
- Health: 100
139
- Power: 20
140
- Strength: 24
141
- *******************
142
  '''
143
 
144
  with gr.Blocks() as app:
 
19
 
20
  temperature=0.9
21
  top_p=0.95
22
+ repetition_penalty=2.0
23
 
24
  def compress_history(history,temperature=temperature,top_p=top_p,repetition_penalty=repetition_penalty):
25
  print("COMPRESSING")
 
135
  {"Health":100,"Power":20,"Strength":24},
136
  ]
137
  text_stats='''*******************
138
+ Health: 100
139
+ Power: 20
140
+ Strength: 24
141
+ *******************
142
  '''
143
 
144
  with gr.Blocks() as app: