ssooraj commited on
Commit
4f533a2
1 Parent(s): a0524df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)