Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
nam194
/
Code_Summarization
like
0
Sleeping
App
Files
Files
Community
nam194
commited on
Nov 29, 2023
Commit
65e33b6
•
1 Parent(s):
a0ee4ae
Create models.py
Browse files
Files changed (1)
hide
show
models.py
+6
-0
models.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
def return_models(language):
2
+
langs = ["php", "python", "java", "ruby", "javascript"]
3
+
if language in langs:
4
+
return f"nam194/cotet5sum_{language}"
5
+
return ""
6
+