kevinwang676 commited on
Commit
8a76551
·
1 Parent(s): a0d271b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def save_history(history):
88
  json.dump(dict_list, f, ensure_ascii=False, indent=2)
89
 
90
 
91
- def save_config(max_length=2048, top_p=0.7, temperature=0.7, memory_limit=0.0):
92
  with open('config.json', 'w') as f:
93
  json.dump({'max_length': max_length, 'top_p': top_p, 'temperature': temperature, 'memory_limit': memory_limit}, f, indent=2)
94
 
 
88
  json.dump(dict_list, f, ensure_ascii=False, indent=2)
89
 
90
 
91
+ def save_config(max_length=2048, top_p=0.7, temperature=0.95, memory_limit=0.0):
92
  with open('config.json', 'w') as f:
93
  json.dump({'max_length': max_length, 'top_p': top_p, 'temperature': temperature, 'memory_limit': memory_limit}, f, indent=2)
94