Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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
|