Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,7 +544,7 @@ def clear_current_chat():
|
|
| 544 |
return f"Cleared chat: {CURRENT_CHAT}"
|
| 545 |
|
| 546 |
# Function to load model and return status
|
| 547 |
-
|
| 548 |
global HF_TOKEN
|
| 549 |
if not HF_TOKEN:
|
| 550 |
return "Please enter your HuggingFace token first before loading the model."
|
|
|
|
| 544 |
return f"Cleared chat: {CURRENT_CHAT}"
|
| 545 |
|
| 546 |
# Function to load model and return status
|
| 547 |
+
def load_model_button():
|
| 548 |
global HF_TOKEN
|
| 549 |
if not HF_TOKEN:
|
| 550 |
return "Please enter your HuggingFace token first before loading the model."
|