Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def generate_image(Prompt):
|
|
6 |
images = ldm([Prompt], num_inference_steps=50, eta=.3, guidance_scale=6)
|
7 |
return images.images[0]
|
8 |
|
9 |
-
interface = gr.Interface(fn = generate_image,inputs = "text",outputs = "image",title = """Mashdemy Demo Image
|
10 |
Generator App""", description = "Type in a text and click submit to generate an image:", examples = ["""a clown
|
11 |
reading a book""", "a cat using a laptop", "An elephant on grass"])
|
12 |
interface.launch(share = True)
|
|
|
6 |
images = ldm([Prompt], num_inference_steps=50, eta=.3, guidance_scale=6)
|
7 |
return images.images[0]
|
8 |
|
9 |
+
interface = gr.Interface(fn = generate_image,inputs = "text",outputs = "image",cache_examples=False, title = """Mashdemy Demo Image
|
10 |
Generator App""", description = "Type in a text and click submit to generate an image:", examples = ["""a clown
|
11 |
reading a book""", "a cat using a laptop", "An elephant on grass"])
|
12 |
interface.launch(share = True)
|