Add API Key Links to Start.py
Browse files- Dockerfile +4 -1
- scripts/Start.py +8 -0
Dockerfile
CHANGED
@@ -46,4 +46,7 @@ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
46 |
WORKDIR $HOME/scripts
|
47 |
|
48 |
# An ENTRYPOINT allows you to configure a container that will run as an executable. Here, it also contains the entire streamlit run command for your app, so you don’t have to call it from the command line
|
49 |
-
ENTRYPOINT ["streamlit", "run", "Start.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
|
|
|
|
46 |
WORKDIR $HOME/scripts
|
47 |
|
48 |
# An ENTRYPOINT allows you to configure a container that will run as an executable. Here, it also contains the entire streamlit run command for your app, so you don’t have to call it from the command line
|
49 |
+
ENTRYPOINT ["streamlit", "run", "Start.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
50 |
+
|
51 |
+
# docker run -it -p 7860:7860 --platform=linux/amd64 \
|
52 |
+
# registry.hf.space/ai-aerospace-aerospace-chatbots:latest
|
scripts/Start.py
CHANGED
@@ -30,4 +30,12 @@ This chatbot will look up from all Aerospace Mechanism Symposia in the following
|
|
30 |
* Model parameters: https://platform.openai.com/docs/api-reference/chat/create
|
31 |
* Pinecone: https://docs.pinecone.io/docs/projects#api-keys
|
32 |
* OpenAI API: https://platform.openai.com/api-keys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
'''
|
|
|
30 |
* Model parameters: https://platform.openai.com/docs/api-reference/chat/create
|
31 |
* Pinecone: https://docs.pinecone.io/docs/projects#api-keys
|
32 |
* OpenAI API: https://platform.openai.com/api-keys
|
33 |
+
'''
|
34 |
+
|
35 |
+
st.subheader("API Key Links")
|
36 |
+
'''
|
37 |
+
* OpenAI: https://platform.openai.com/api-keys
|
38 |
+
* Pinecone: https://www.pinecone.io
|
39 |
+
* Hugging Face: https://huggingface.co/settings/tokens
|
40 |
+
* Voyage: https://dash.voyageai.com/api-keys
|
41 |
'''
|