import streamlit as st import pandas as pd # Data for artistic prompts data = { "Category": [ "Render Quality", "Render Quality", "Render Quality", "Render Quality", "Render Quality", "Didn't Match Prompt", "Didn't Match Prompt", "Didn't Match Prompt", "Didn't Match Prompt", "Didn't Match Prompt" ], "Prompt": [ "1. Hyper-realistic Impressionist painting of a majestic lighthouse on a rocky coast, with individual skin pores visible on any human figures. Use bold brushstrokes and a vibrant color palette to capture the interplay of light and shadow as the lighthouse beam cuts through a stormy night sky.", "2. Macro photograph of a dewdrop on a leaf, showing surface tension, incorporated into a Cubist still life featuring a pair of vintage eyeglasses. Focus on the intricate details of the frames, lenses, and water droplet, using a warm color scheme to evoke a sense of nostalgia and wisdom.", "3. Photorealistic render of a futuristic cityscape at sunset, blended with a Surrealist depiction of a rustic wooden stool in a sunlit artist's studio. Emphasize the texture of the wood and the interplay of light and shadow, using a mix of earthy tones and highlights against the backdrop of the futuristic skyline.", "4. Ultra-detailed close-up of a mechanical watch movement, viewed through an ornate window frame in a Minimalist scene. Contrast the intricate details of the window and watch with a dreamy, soft-focus landscape beyond.", "5. Lifelike 3D render of a classic car, showcasing reflections and materials, combined with a Baroque close-up study of interlaced fingers gripping the steering wheel. Use a monochromatic color scheme to emphasize the form and texture of the hands and car interior, with dramatic lighting to create depth and emotion.", "6. A serene koi pond under cherry blossoms with an Impressionist painting of a majestic lighthouse on a rocky coast in the background - check if all elements are present, including the bold brushstrokes and vibrant color palette capturing the interplay of light and shadow.", "7. Steampunk elephant in a Victorian parlor examining a Cubist still life featuring a pair of vintage eyeglasses - verify setting, subject, and the focus on intricate details of the frames and lenses, using a warm color scheme.", "8. Cyberpunk samurai wielding a laser katana in a Surrealist depiction of a rustic wooden stool in a sunlit artist's studio - ensure style and weapon match, while emphasizing the texture of the wood and the interplay of light and shadow.", "9. Art Nouveau poster of a mermaid playing a harp in a Minimalist scene viewed through an ornate window frame - confirm style and subject, contrasting the intricate details of the window with a dreamy, soft-focus landscape beyond.", "10. Surrealist landscape with melting clocks and a Baroque close-up study of interlaced fingers - check for Dalí-esque elements and the monochromatic color scheme emphasizing the form and texture of the hands." ] } # Convert data to DataFrame df = pd.DataFrame(data) # App layout setup st.set_page_config(layout="wide") # Sidebar setup st.sidebar.title("Video Generation") menu_options = ["Generate Video", "My Videos", "Settings", "Help"] menu_selection = st.sidebar.radio("Menu", menu_options) if menu_selection == "Generate Video": st.sidebar.text_input("Enter Prompt", key="prompt") st.sidebar.button("Save Preset") st.sidebar.selectbox("Choose Preset", ["Preset 1", "Preset 2", "Preset 3"], key="preset") if st.sidebar.button("Get More Credits"): st.write("Redirecting to credits purchase...") elif menu_selection == "My Videos": st.sidebar.text("Videos in progress:") st.sidebar.progress(75) st.sidebar.text("Completed videos:") video_list = ["Video1", "Video2"] selected_video = st.sidebar.radio("Select Video", video_list) elif menu_selection == "Settings": st.sidebar.checkbox("Enable Notifications") st.sidebar.checkbox("High Quality Rendering") elif menu_selection == "Help": st.sidebar.write("For assistance, please visit our help center.") # Main area setup st.title("Video Generator Dashboard") st.text_area("Prompt", "Enter your video description here...", key="video_prompt") st.number_input("Set Duration (seconds)", min_value=10, max_value=300, key="duration", value=10) st.button("Generate Video") # Video display area with tools st.video([]) # Placeholder for video player st.button("Refresh") st.button("Download") st.button("❤️") st.button("Close") # Display artistic prompts as a DataFrame st.write("Artistic Prompts Dataset") st.dataframe(df) # Right sidebar for video processing with st.sidebar: st.write("Credits: 3,465") st.button("Get Credits") st.subheader("Video Status") video_processing = {"Video3": 91, "Video4": 75} for video, progress in video_processing.items(): st.text(video) st.progress(progress) st.subheader("Completed Videos") st.button("Video1") st.button("Video2") if st.button("Fill out a short survey"): st.write("Redirecting to survey...") # Footer with star rating st.write("Rate this App") st.slider("", 0, 5, 1)