Spaces:
Sleeping
Sleeping
arthurcarvalho
commited on
Commit
•
db9f296
1
Parent(s):
7886802
Upload 2 files
Browse files- .gitattributes +1 -0
- app.py +7 -1
- logo.png +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
logo.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -1,12 +1,18 @@
|
|
1 |
import openai
|
2 |
import streamlit as st
|
|
|
3 |
|
4 |
st.title("Carvalho Pizzeria")
|
5 |
|
|
|
6 |
openai.api_key = st.secrets["OPENAI_API_KEY"]
|
7 |
-
|
8 |
grounding = st.secrets["GROUNDING"]
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
if "openai_model" not in st.session_state:
|
11 |
st.session_state["openai_model"] = "gpt-3.5-turbo"
|
12 |
|
|
|
1 |
import openai
|
2 |
import streamlit as st
|
3 |
+
from PIL import Image
|
4 |
|
5 |
st.title("Carvalho Pizzeria")
|
6 |
|
7 |
+
# Streamlit Secrets
|
8 |
openai.api_key = st.secrets["OPENAI_API_KEY"]
|
|
|
9 |
grounding = st.secrets["GROUNDING"]
|
10 |
|
11 |
+
|
12 |
+
image = Image.open('logo.png')
|
13 |
+
|
14 |
+
st.image(image)
|
15 |
+
|
16 |
if "openai_model" not in st.session_state:
|
17 |
st.session_state["openai_model"] = "gpt-3.5-turbo"
|
18 |
|
logo.png
ADDED
Git LFS Details
|