chris-rannou HF staff commited on
Commit
6d52646
1 Parent(s): b8ba98c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ import gradio as gr
3
  from huggingface_hub import list_models
4
 
5
 
 
 
 
6
  def list_private_models(oauth_profile: gr.OAuthProfile | None, oauth_token: gr.OAuthToken | None) -> str:
7
  if oauth_token is None:
8
  return "Please log in to list private models."
 
3
  from huggingface_hub import list_models
4
 
5
 
6
+
7
+
8
+
9
  def list_private_models(oauth_profile: gr.OAuthProfile | None, oauth_token: gr.OAuthToken | None) -> str:
10
  if oauth_token is None:
11
  return "Please log in to list private models."