Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithdark-git committed Mar 28, 2024
1 parent 3214fab commit 3f9aca7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def search_unsplash_images(query):

# Sidebar for options
st.sidebar.title("Options")
selected_option = st.sidebar.radio("Select an option", ("Home", "Remove Background", "Convert to Pencil Sketch", "Search image", "README.md"))
selected_option = st.sidebar.radio("Select an option", ("Home", "Remove Background", "Convert to Pencil Sketch", "image with AI","Search image", "README.md"))

# Display README content within the Options section
if selected_option == "README.md":
Expand Down Expand Up @@ -234,6 +234,10 @@ def search_unsplash_images(query):
else:
st.warning("Please enter a search query.")

# elif selected_option == "image with AI":
# import gradio as gr
#
# gr.load("models/stabilityai/stable-diffusion-xl-base-1.0").launch()

else:
# Process uploaded image
Expand Down

0 comments on commit 3f9aca7

Please sign in to comment.