Update app.py
Browse files
app.py
CHANGED
|
@@ -105,9 +105,9 @@ def main(urls):
|
|
| 105 |
return results
|
| 106 |
|
| 107 |
@spaces.GPU()
|
| 108 |
-
from unsloth import FastLanguageModel # Import moved to the top for model loading
|
| 109 |
-
|
| 110 |
def classify_website(url):
|
|
|
|
|
|
|
| 111 |
global model, tokenizer # Declare model and tokenizer as global variables
|
| 112 |
|
| 113 |
urls = [url]
|
|
|
|
| 105 |
return results
|
| 106 |
|
| 107 |
@spaces.GPU()
|
|
|
|
|
|
|
| 108 |
def classify_website(url):
|
| 109 |
+
from unsloth import FastLanguageModel # Import moved to the top for model loading
|
| 110 |
+
|
| 111 |
global model, tokenizer # Declare model and tokenizer as global variables
|
| 112 |
|
| 113 |
urls = [url]
|