CognitiveScience commited on
Commit
09ff7cc
·
verified ·
1 Parent(s): 20bc492

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,11 +17,11 @@ def list_private_models(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthTo
17
  # if the user is not logged in, oauth_token will be None
18
  if oauth_token is None:
19
  return "Please log in to list private models."
20
- models = ["mod1","mod2"
21
  #f"{model.id} ({'private' if model.private else 'public'})"
22
  #for model in list_models(author=profile.username, token=oauth_token.token)
23
- ]
24
- return "Models:\n\n" + "\n - ".join(models) + "."
25
 
26
 
27
  with gr.Blocks() as demo:
 
17
  # if the user is not logged in, oauth_token will be None
18
  if oauth_token is None:
19
  return "Please log in to list private models."
20
+ #models = [
21
  #f"{model.id} ({'private' if model.private else 'public'})"
22
  #for model in list_models(author=profile.username, token=oauth_token.token)
23
+ #]
24
+ return "You r in........." #"Models:\n\n" + "\n - ".join(models) + "."
25
 
26
 
27
  with gr.Blocks() as demo: