Spaces:
Build error
Build error
πwπ
Browse filesFiles changed (2)
- app.py+3-3
- cool kid.jpgDeleted
44 unmodified lines45464748495051525354555644 unmodified linesimage = gr.Image(label="Upload an image")text = gr.Textbox(label="Paste an image URL")chameleon = Image.open("chameleon.jpg")cool = Image.open("cool kid.jpg")url = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"tab1 = gr.Interface(fn, inputs=image, outputs=slider1, examples=[[chameleon], [cool]], api_name="image")tab2 = gr.Interface(fn, inputs=text, outputs=slider2, examples=[url], api_name="text")44 unmodified lines45464748495051525354555644 unmodified linesimage = gr.Image(label="Upload an image")text = gr.Textbox(label="Paste an image URL")chameleon = load_img("chameleon.jpg", output_type="pil")url = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"tab1 = gr.Interface(fn, inputs=image, outputs=slider1, examples=[chameleon], api_name="image")tab2 = gr.Interface(fn, inputs=text, outputs=slider2, examples=[url], api_name="text")
app.py+3-3
cool kid.jpgDeleted