unclemusclez commited on
Commit
291e6bb
·
verified ·
1 Parent(s): 7c932c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ 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):
24
- auth_token: gr.OAuthToken | None
25
  ollama_library_username: library_username | None
26
  if oauth_token.token is None:
27
  raise ValueError("You must be logged in to use Ollamafy")
 
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):
24
+ oauth_token: gr.OAuthToken | None
25
  ollama_library_username: library_username | None
26
  if oauth_token.token is None:
27
  raise ValueError("You must be logged in to use Ollamafy")