Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
import re
|
| 6 |
import torch
|
| 7 |
|
|
|
|
| 8 |
# Model and tokenizer loading (outside the respond function)
|
| 9 |
try:
|
| 10 |
tokenizer = AutoTokenizer.from_pretrained("sarvamai/sarvam-1")
|
|
|
|
| 5 |
import re
|
| 6 |
import torch
|
| 7 |
|
| 8 |
+
|
| 9 |
# Model and tokenizer loading (outside the respond function)
|
| 10 |
try:
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained("sarvamai/sarvam-1")
|