Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -83,6 +83,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
83 |
device_map="auto",
|
84 |
quantization_config=quantization_config,
|
85 |
attn_implementation="flash_attention_2",
|
|
|
86 |
)
|
87 |
|
88 |
# Create Gradio interface
|
|
|
83 |
device_map="auto",
|
84 |
quantization_config=quantization_config,
|
85 |
attn_implementation="flash_attention_2",
|
86 |
+
trust_remote_code=True
|
87 |
)
|
88 |
|
89 |
# Create Gradio interface
|