tombetthauser commited on
Commit
d5b9aaa
Β·
1 Parent(s): d7040df

Update css

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -60,6 +60,24 @@ with gradio.Blocks(css="""
60
  footer {
61
  opacity: 0;
62
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  """) as demo:
64
  animal = gradio.Textbox(label="a children's drawing of a...", elem_id="input-text")
65
  output = gradio.Image(elem_id="output-image")
 
60
  footer {
61
  opacity: 0;
62
  }
63
+ #output-image {
64
+ border: 1px solid black;
65
+ background-color: white;
66
+ width: 500px;
67
+ display: block;
68
+ margin-left: auto;
69
+ margin-right: auto;
70
+ }
71
+ .absolute {
72
+ display: none;
73
+ }
74
+ #input-text {
75
+ width: 500px;
76
+ display: block;
77
+ margin-left: auto;
78
+ margin-right: auto;
79
+ padding: 0 0 0 0;
80
+ }
81
  """) as demo:
82
  animal = gradio.Textbox(label="a children's drawing of a...", elem_id="input-text")
83
  output = gradio.Image(elem_id="output-image")