Spaces:
Sleeping
Sleeping
File size: 968 Bytes
cf208ea f345591 cf208ea d5f87fa eca2aa1 d5f87fa cf208ea f345591 d5f87fa f345591 d5f87fa f345591 d5f87fa |
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 |
import gradio as gr
# Load the model interface from Hugging Face
model_interface = gr.load("models/Yntec/80sMoviePoster")
# Create a Gradio app
with gr.Blocks() as demo:
gr.Markdown("## 🎬 80s Movie Poster Generator")
gr.Markdown(
"Generate stunning 80s-style movie posters using AI! "
"Enter a prompt, and the model will create an image based on your input."
)
with gr.Row():
with gr.Column(scale=1):
gr.Markdown("### How to Use:")
gr.Markdown("- Enter a description of your movie poster.")
gr.Markdown("- Click 'Submit' and wait for the AI to generate an image.")
gr.Markdown("- Download and share your generated poster!")
with gr.Column(scale=2):
# Embed the model interface inside the Blocks layout
model_interface.render()
gr.Markdown("### Try it now and bring back the retro vibes! 🚀")
# Launch the app
demo.launch()
|