farid678 commited on
Commit
7e989f4
1 Parent(s): 95b8eb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -8,10 +8,6 @@ def text_to_image(text):
8
  # Generate an image based on the input text
9
  image = pipeline(text).images[0]
10
 
11
- # Save the image (you can customize this part)
12
- image_path = "output_image.png"
13
- image.save(image_path)
14
-
15
  return image
16
 
17
  text_input = gr.Textbox(label="Enter your text")
 
8
  # Generate an image based on the input text
9
  image = pipeline(text).images[0]
10
 
 
 
 
 
11
  return image
12
 
13
  text_input = gr.Textbox(label="Enter your text")