deepseek-admin commited on
Commit
69ab3c6
1 Parent(s): d02d07f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -47,8 +47,7 @@ def generate(
47
  global total_count
48
  total_count += 1
49
  print(total_count)
50
- if total_count % 50 == 0 :
51
- os.system("nvidia-smi")
52
  conversation = []
53
  if system_prompt:
54
  conversation.append({"role": "system", "content": system_prompt})
 
47
  global total_count
48
  total_count += 1
49
  print(total_count)
50
+ os.system("nvidia-smi")
 
51
  conversation = []
52
  if system_prompt:
53
  conversation.append({"role": "system", "content": system_prompt})