MoritzMMuller commited on
Commit
a471a77
·
verified ·
1 Parent(s): 4a5270f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,7 +43,8 @@ def load_image_model(token: str):
43
  MODEL_NAME,
44
  use_auth_token=token,
45
  trust_remote_code=True, # ← allow custom code in the model repo
46
- device=0 # or -1 for CPU
 
47
  )
48
 
49
  @st.cache_resource
 
43
  MODEL_NAME,
44
  use_auth_token=token,
45
  trust_remote_code=True, # ← allow custom code in the model repo
46
+ device=0,# or -1 for CPU
47
+ model_type = "biogpt"
48
  )
49
 
50
  @st.cache_resource