hanAlex commited on
Commit
27d95e9
β€’
1 Parent(s): 142aa5b

Update web_demo.py

Browse files
Files changed (1) hide show
  1. web_demo.py +2 -2
web_demo.py CHANGED
@@ -68,8 +68,8 @@ if __name__ == "__main__":
68
  if use_local_interface :
69
  model_path0 = 'THUDM/glm-4-voice-9b'
70
  # dtype = 'bfloat16'
71
- device0 = 'cpu'
72
- worker = ModelWorker(model_path0,device0)
73
 
74
 
75
  def clear_fn():
 
68
  if use_local_interface :
69
  model_path0 = 'THUDM/glm-4-voice-9b'
70
  # dtype = 'bfloat16'
71
+ device = 'cpu'
72
+ worker = ModelWorker(model_path0,device)
73
 
74
 
75
  def clear_fn():