Hunzla commited on
Commit
fb37126
1 Parent(s): ed000ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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