vilarin commited on
Commit
6b67af9
1 Parent(s): b179e70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ model = AutoModelForCausalLM.from_pretrained(
38
  MODEL,
39
  torch_dtype=torch.bfloat16,
40
  low_cpu_mem_usage=True,
41
- device_map="auto")
 
42
 
43
  @spaces.GPU()
44
  def stream_chat(
 
38
  MODEL,
39
  torch_dtype=torch.bfloat16,
40
  low_cpu_mem_usage=True,
41
+ device_map="auto",
42
+ trust_remote_code=True)
43
 
44
  @spaces.GPU()
45
  def stream_chat(