unclemusclez commited on
Commit
f488a6b
1 Parent(s): d3d6c07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ HOME = os.environ.get("HOME")
20
  library_username = os.environ.get("OLLAMA_USERNAME").lower()
21
  ollama_pubkey = open(f"{HOME}/.ollama/id_ed25519.pub", "r")
22
 
23
- def ollamafy_model(login, account, model_id, ollama_library_username: library_username | None , ollama_q_method, latest, maintainer, oauth_token: gr.OAuthToken | None):
24
-
25
  if oauth_token.token is None:
26
  raise ValueError("You must be logged in to use Ollamafy")
27
  # username = whoami(oauth_token.token)["name"]
 
20
  library_username = os.environ.get("OLLAMA_USERNAME").lower()
21
  ollama_pubkey = open(f"{HOME}/.ollama/id_ed25519.pub", "r")
22
 
23
+ def ollamafy_model(login, account, model_id, ollama_library_username , ollama_q_method, latest, maintainer, oauth_token: gr.OAuthToken | None):
24
+ ollama_library_username: library_username | None
25
  if oauth_token.token is None:
26
  raise ValueError("You must be logged in to use Ollamafy")
27
  # username = whoami(oauth_token.token)["name"]