Spaces:
Sleeping
Sleeping
arjunanand13
commited on
Commit
•
896322c
1
Parent(s):
f15a376
Update app.py
Browse files
app.py
CHANGED
@@ -7,5 +7,5 @@ def generate_image(Prompt):
|
|
7 |
images = ldm([Prompt], num_inference_steps=50, eta=.3, guidance_scale=6)
|
8 |
return images.images[0]
|
9 |
|
10 |
-
interface = gr.Interface(fn = generate_image,inputs = "text",outputs = "image",title = "Compviz Image Generator App", description = "Type in a text and click submit to generate an image:", examples = ["a clown reading a book", "Cat in Paris", "An elephant on grass"])
|
11 |
interface.launch(share = True)
|
|
|
7 |
images = ldm([Prompt], num_inference_steps=50, eta=.3, guidance_scale=6)
|
8 |
return images.images[0]
|
9 |
|
10 |
+
interface = gr.Interface(fn = generate_image,inputs = "text",outputs = "image", cache_examples=False ,title = "Compviz Image Generator App", description = "Type in a text and click submit to generate an image:", examples = ["a clown reading a book", "Cat in Paris", "An elephant on grass"])
|
11 |
interface.launch(share = True)
|