bryandts commited on
Commit
d9b1896
1 Parent(s): 09a1e37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -74,10 +74,9 @@ embeddings, classes = load_embedding(model)
74
 
75
  iface = gr.Interface(fn=generate_image,
76
  inputs=gr.Textbox(lines=2, placeholder="Enter Caption Here..."),
77
- outputs=gr.Image(type="numpy"),
78
  title="CUHK Shenzhen Building Text-to-Image Generation",
79
- description="Enter a caption of some specific building in CUHK-Shenzhen to generate an image..",
80
- css=".output-image, .image-preview {height: 128px !important}"
81
  )
82
 
83
  iface.launch(debug=True)
 
74
 
75
  iface = gr.Interface(fn=generate_image,
76
  inputs=gr.Textbox(lines=2, placeholder="Enter Caption Here..."),
77
+ outputs=gr.Image(type="numpy", height=256, width=256),
78
  title="CUHK Shenzhen Building Text-to-Image Generation",
79
+ description="Enter a caption of some specific building in CUHK-Shenzhen to generate an image.."
 
80
  )
81
 
82
  iface.launch(debug=True)