-
Notifications
You must be signed in to change notification settings - Fork 6
/
Home.py
31 lines (27 loc) · 1.85 KB
/
Home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import streamlit as st
# set page config
st.set_page_config(page_title="OpenAI Web Applications",
page_icon=":robot_face:",
layout='centered',
initial_sidebar_state="auto")
# Display the title of the web app
st.title("WELCOME TO OPENAI WEB SERVICES!")
# Display a header that briefly describes the web apps, with a rocket emoji
st.header(":rocket: An Unofficial Platform For Custom Web Applications Powered By OpenAI APIs")
# Display a subheader that indicates the author of the web apps, with a sunglasses emoji
st.subheader(':sunglasses: By Maxine Xiong')
# Display a markdown bold text with instructions for the users and a message about upcoming OpenAI applications
st.markdown('**Please feel free to explore the following web apps or share your feedback to my email <maxinexiong2@gmail.com>. \
More exciting OpenAI applications are coming on the way, so stay tuned! :clinking_glasses:**')
# Display a markdown bullet point with a microphone emoji and a link to "Talk To GPT-3.5" app
st.markdown('- **[:microphone: Talk To GPT](./Talk_To_GPT)**')
# Display a markdown bullet point with a computer emoji and a link to "CodeMaxGPT" app
st.markdown('- **[:computer: CodeMaxGPT](./CodeMaxGPT)**')
# Display a markdown bullet point with an image frame emoji and a link to "DALL·E Image Generator (coming soon)" app
# Also display a message that the app is currently unavailable due to API key issues
# st.markdown("- **[:frame_with_picture: DALL·E Image Generator (coming soon)](./DALL·E_Image_Generator_(coming_soon))**: \
# Currently unavailable :no_entry: due to an issue with the validity of API keys :key: for the DALL·E model. Awaiting resolution from OpenAI.")
# Display an empty line
st.text('')
# Display an image from the 'assets' folder named 'cover-page.gif'
st.image('assets/cover-page.gif')