Johnyquest7
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ CSS = """
|
|
103 |
|
104 |
|
105 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3-mini-4k-instruct")
|
106 |
-
model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct", torch_dtype="auto", device_map="auto")
|
107 |
|
108 |
|
109 |
@spaces.GPU
|
|
|
103 |
|
104 |
|
105 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3-mini-4k-instruct")
|
106 |
+
model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct", torch_dtype="auto", device_map="auto",trust_remote_code=True)
|
107 |
|
108 |
|
109 |
@spaces.GPU
|