nam194 commited on
Commit
22a6156
1 Parent(s): fe4e487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
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 + CodeXGLUE dataset')
10
- st.warning("Enter your huggingface API key first !")
11
 
12
- self.API_KEY = st.sidebar.text_input(
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(