Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,10 @@ from models import return_sum_models
|
|
6 |
class LLM_Langchain():
|
7 |
def __init__(self):
|
8 |
st.warning("Warning: input function needs cleaning and may take long to be processed")
|
9 |
-
st.header('🦜 Code summarization with CodeT5-small
|
10 |
-
st.warning("
|
11 |
|
12 |
-
self.API_KEY =
|
13 |
-
'API Key',
|
14 |
-
type='password',
|
15 |
-
help="Type in your HuggingFace API key to use this app")
|
16 |
|
17 |
languages = ["php", "java", "javascript", "python", "ruby"]
|
18 |
model_parent = st.sidebar.selectbox(
|
|
|
6 |
class LLM_Langchain():
|
7 |
def __init__(self):
|
8 |
st.warning("Warning: input function needs cleaning and may take long to be processed")
|
9 |
+
st.header('🦜 Code summarization with CodeT5-small')
|
10 |
+
st.warning("I do sample subsets of CodeXGLUE to finetune !")
|
11 |
|
12 |
+
self.API_KEY = os.environ["API_KEY"]
|
|
|
|
|
|
|
13 |
|
14 |
languages = ["php", "java", "javascript", "python", "ruby"]
|
15 |
model_parent = st.sidebar.selectbox(
|