Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate(celebrity, setting):
|
|
37 |
gr.Interface(
|
38 |
# ANSWER HERE
|
39 |
fn=generate,
|
40 |
-
inputs=[gr.Textbox(label='Celebrity'), gr.Dropdown(['The Godfather', 'Titanic', 'Fast and Furious'], label='Movie')],
|
41 |
outputs = gr.Image(type='pill'),
|
42 |
title="Movie Poster Generation Using Stable Diffusion",
|
43 |
description="This is a movie poster generation app created as part of End to End Vision application course on CoRise by Abubakar Abid!<br/> Set the celebrity name and choose a movie name from the dropdown to generate the image.",
|
|
|
37 |
gr.Interface(
|
38 |
# ANSWER HERE
|
39 |
fn=generate,
|
40 |
+
inputs=[gr.Textbox(label='Celebrity',value='Tom Cruise'), gr.Dropdown(['The Godfather', 'Titanic', 'Fast and Furious'], label='Movie')],
|
41 |
outputs = gr.Image(type='pill'),
|
42 |
title="Movie Poster Generation Using Stable Diffusion",
|
43 |
description="This is a movie poster generation app created as part of End to End Vision application course on CoRise by Abubakar Abid!<br/> Set the celebrity name and choose a movie name from the dropdown to generate the image.",
|