Spaces:
Runtime error
Runtime error
test app
Browse files
app.py
CHANGED
|
@@ -174,7 +174,11 @@ including hate speech, violence, pornography, deception, etc. \
|
|
| 174 |
|
| 175 |
args = {}
|
| 176 |
|
|
|
|
|
|
|
| 177 |
model, tokenizer, config = _load_model_tokenizer(args)
|
| 178 |
|
|
|
|
|
|
|
| 179 |
_launch_demo(args, model, tokenizer, config)
|
| 180 |
|
|
|
|
| 174 |
|
| 175 |
args = {}
|
| 176 |
|
| 177 |
+
print("Loading model...")
|
| 178 |
+
|
| 179 |
model, tokenizer, config = _load_model_tokenizer(args)
|
| 180 |
|
| 181 |
+
print("Model loaded, launching demo...")
|
| 182 |
+
|
| 183 |
_launch_demo(args, model, tokenizer, config)
|
| 184 |
|