Spaces:
Runtime error
Runtime error
Jagad1234unique
commited on
Commit
•
78dcd16
1
Parent(s):
ac7c43e
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,9 @@ from huggingface_hub import InferenceClient
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
-
|
|
|
|
|
8 |
|
9 |
|
10 |
def respond(
|
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
+
# Load model directly
|
8 |
+
from transformers import AutoModel
|
9 |
+
model = AutoModel.from_pretrained("Jagad1234unique/Uni_stu")
|
10 |
|
11 |
|
12 |
def respond(
|