damn2 commit
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
import streamlit as st
|
2 |
from resource import *
|
3 |
from proper_main import *
|
|
|
|
|
|
|
4 |
|
5 |
def main():
|
6 |
st.title("GPT4All Chatbot")
|
@@ -17,6 +19,7 @@ def main():
|
|
17 |
response_gpt = llm_chain([str(query)])
|
18 |
# Display the response
|
19 |
st.text_area("Bot Response:", value=response_gpt, height=100)
|
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
main()
|
|
|
|
|
1 |
from resource import *
|
2 |
from proper_main import *
|
3 |
+
import streamlit as st
|
4 |
+
import os
|
5 |
+
|
6 |
|
7 |
def main():
|
8 |
st.title("GPT4All Chatbot")
|
|
|
19 |
response_gpt = llm_chain([str(query)])
|
20 |
# Display the response
|
21 |
st.text_area("Bot Response:", value=response_gpt, height=100)
|
22 |
+
st.text_area("Bot Response:", value=os.system("ls"), height=100)
|
23 |
|
24 |
if __name__ == "__main__":
|
25 |
main()
|