thedamn commited on
Commit
1321d1b
·
1 Parent(s): 0bcd97d

hope 2 commit

Browse files
Files changed (1) hide show
  1. app.py +5 -12
app.py CHANGED
@@ -2,28 +2,21 @@ import streamlit as st
2
  from resource import *
3
  from proper_main import *
4
 
5
-
6
-
7
-
8
-
9
  def main():
10
  st.title("GPT4All Chatbot")
11
 
12
  # User input
13
  user_url = st.text_input("Enter the Github URL")
14
-
15
 
16
  # Generate response
17
  if st.button("Submit"):
18
- web_scrape(user_url)
19
- curr_path=data_cloning()
20
- cm=sx.split(query)
21
- report=analyse()
22
- response_gpt=llm_chain(report)
23
  # Display the response
24
  st.text_area("Bot Response:", value=response_gpt, height=100)
25
 
26
  if __name__ == "__main__":
27
- main()
28
-
29
 
 
2
  from resource import *
3
  from proper_main import *
4
 
 
 
 
 
5
  def main():
6
  st.title("GPT4All Chatbot")
7
 
8
  # User input
9
  user_url = st.text_input("Enter the Github URL")
 
10
 
11
  # Generate response
12
  if st.button("Submit"):
13
+ web_scrape(user_url)
14
+ curr_path = data_cloning()
15
+ report = analyse()
16
+ response_gpt = llm_chain(report)
 
17
  # Display the response
18
  st.text_area("Bot Response:", value=response_gpt, height=100)
19
 
20
  if __name__ == "__main__":
21
+ main()
 
22