wuhp commited on
Commit
0542eae
·
verified ·
1 Parent(s): 2ff6b11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def create_space_backend(username: str, hf_token: str, repo_name: str, sdk: str)
62
  return repo_id
63
 
64
  # --- Chat init & respond handlers ---
65
- def init_chat(repo_name: str, sdk: str, api_key: str, hf_profile: gr.OAuthProfile=None, hf_token: gr.OAuthToken=None):
66
  def init_chat(repo_name: str, sdk: str, api_key: str, hf_profile: gr.OAuthProfile, hf_token: gr.OAuthToken):
67
  global client, chat
68
  # Validate inputs
 
62
  return repo_id
63
 
64
  # --- Chat init & respond handlers ---
65
+
66
  def init_chat(repo_name: str, sdk: str, api_key: str, hf_profile: gr.OAuthProfile, hf_token: gr.OAuthToken):
67
  global client, chat
68
  # Validate inputs