Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ model = LlamaForCausalLM.from_pretrained(
|
|
12 |
"medalpaca/medalpaca-7b",
|
13 |
torch_dtype=torch.float32,
|
14 |
device_map="auto",
|
15 |
-
|
16 |
)
|
17 |
|
18 |
def answer_question(question, context):
|
|
|
12 |
"medalpaca/medalpaca-7b",
|
13 |
torch_dtype=torch.float32,
|
14 |
device_map="auto",
|
15 |
+
offload_folder="."
|
16 |
)
|
17 |
|
18 |
def answer_question(question, context):
|