attilasimko commited on
Commit
cd14e4d
·
1 Parent(s): 1c31e5e

moved all code

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import streamlit as st
 
2
 
3
- repo_link = st.text_input("Github repository link:", value="", type="default", help=None, on_change=None)
4
- x = st.slider('Select a value')
5
- st.write(x, 'squared is', x * x)
 
6
 
7
  with st.form("my_form"):
8
  st.write("Notice something wrong? Please tell us so we can improve.")
 
1
  import streamlit as st
2
+ from evaluations.repo_evaluations import evaluate
3
 
4
+
5
+ repo_link = st.text_input("Github repository link:", value="", type="default", help=None, on_change=evaluate)
6
+
7
+ evaluate(llm=None, verbose=2, repo_url=repo_link)
8
 
9
  with st.form("my_form"):
10
  st.write("Notice something wrong? Please tell us so we can improve.")