Spaces:
Paused
Paused
Update app/main.py
Browse files83 unmodified lines848586878889909183 unmodified linestorch_dtype=torch_dtype,device=device,return_full_text=False,model_kwargs={"low_cpu_mem_usage": True},cache_dir=cache_dir # ensures a writable cache)current_model = model_namelogger.info(f"Model {model_name} loaded successfully!")83 unmodified lines848586878889909183 unmodified linestorch_dtype=torch_dtype,device=device,return_full_text=False,low_cpu_mem_usage=True, # top-level argumentcache_dir=cache_dir # top-level argument)current_model = model_namelogger.info(f"Model {model_name} loaded successfully!")
app/main.py+2-2