Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,23 +64,11 @@ with st.sidebar:
|
|
64 |
except OpenAIError as e:
|
65 |
st.error(e._message)
|
66 |
|
67 |
-
tab1, tab2 = st.tabs(["
|
68 |
with tab1:
|
69 |
st.markdown("### How does it work?")
|
70 |
-
|
71 |
-
|
72 |
-
st.markdown("#### Code GPT")
|
73 |
-
st.write("All code was written with the help of Code GPT. Visit [codegpt.co]('https://codegpt.co') to get the extension.")
|
74 |
-
st.markdown("#### Streamlit")
|
75 |
-
st.write("The design was written with [Streamlit]('https://streamlit.io/').")
|
76 |
-
st.markdown("#### LangChain")
|
77 |
-
st.write("Question answering with source [Langchain QA]('https://langchain.readthedocs.io/en/latest/use_cases/question_answering.html#adding-in-sources').")
|
78 |
-
st.markdown("#### Embedding")
|
79 |
-
st.write('[Embedding]("https://platform.openai.com/docs/guides/embeddings") is done via the OpenAI API with "text-embedding-ada-002"')
|
80 |
-
st.markdown("""---""")
|
81 |
-
st.write('Author: [Daniel Ávila](https://www.linkedin.com/in/daniel-avila-arias/)')
|
82 |
-
st.write('Repo: [Github](https://github.com/davila7/file-gpt)')
|
83 |
-
st.write("This software was developed with Code GPT, for more information visit: https://codegpt.co")
|
84 |
|
85 |
with tab2:
|
86 |
st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|
|
|
64 |
except OpenAIError as e:
|
65 |
st.error(e._message)
|
66 |
|
67 |
+
tab1, tab2 = st.tabs(["Chat with the File"])
|
68 |
with tab1:
|
69 |
st.markdown("### How does it work?")
|
70 |
+
|
71 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
with tab2:
|
74 |
st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|