Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ HOME = os.environ.get("HOME")
|
|
21 |
ollama_pubkey = open(f"{HOME}/.ollama/id_ed25519.pub", "r")
|
22 |
|
23 |
|
24 |
-
def ollamafy_model(model_id,
|
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"]
|
|
|
21 |
ollama_pubkey = open(f"{HOME}/.ollama/id_ed25519.pub", "r")
|
22 |
|
23 |
|
24 |
+
def ollamafy_model(model_id, ollama_q_method, latest, maintainer, oauth_token: gr.OAuthToken | None, library_username: ollama_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"]
|