Spaces:
Sleeping
Sleeping
Commit
·
a1e0e22
1
Parent(s):
ac73b86
Add application file
Browse files
app.py
CHANGED
@@ -15,6 +15,6 @@ Enter a programming language to determine what language it is!
|
|
15 |
@st.cache_resource
|
16 |
def load_model():
|
17 |
print("before load model")
|
18 |
-
return pipeline("
|
19 |
|
20 |
language_identificator = load_model()
|
|
|
15 |
@st.cache_resource
|
16 |
def load_model():
|
17 |
print("before load model")
|
18 |
+
return pipeline("text-classification", model="huggingface/CodeBERTa-language-id")
|
19 |
|
20 |
language_identificator = load_model()
|