Spaces:
Sleeping
Sleeping
File size: 446 Bytes
f7f1845 06ace40 f7f1845 d5c0426 9374956 f7f1845 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from PIL import Image
from utils import generate_gradio_images
# Create a Gradio interface
iface = gr.Interface(
fn=generate_gradio_images, # Set to None since we won't use a function
inputs=[
gr.Textbox("Enter Prompt"),
gr.Number("Time Stamps", value=1, step=1, maximum=50)
],
outputs=gr.Image() # Gradio Image component for displaying images
)
# Launch the Gradio interface
iface.launch() |