Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ api_token = "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" # Replace with your actual
|
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
model_name,
|
24 |
low_cpu_mem_usage=True,
|
|
|
25 |
|
26 |
revision="main", # Or the desired revision
|
27 |
token=api_token
|
|
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
model_name,
|
24 |
low_cpu_mem_usage=True,
|
25 |
+
return_dict=True,
|
26 |
|
27 |
revision="main", # Or the desired revision
|
28 |
token=api_token
|