mrbeliever commited on
Commit
a21e85d
·
verified ·
1 Parent(s): 321c2b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -3
app.py CHANGED
@@ -44,8 +44,22 @@ iface = gr.Interface(
44
  .gr-button:hover {
45
  background-color: #45a049;
46
  }
47
- """
 
 
 
 
 
 
 
 
48
  )
49
 
50
- if __name__ == "__main__":
51
- iface.launch()
 
 
 
 
 
 
 
44
  .gr-button:hover {
45
  background-color: #45a049;
46
  }
47
+ .gr-button-container {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ width: 100%;
51
+ max-width: 300px;
52
+ margin-top: 20px;
53
+ }
54
+ """,
55
+ layout="vertical",
56
  )
57
 
58
+ iface.launch(
59
+ inputs=[gr.Image(label="Upload Image")],
60
+ outputs=[gr.Image(label="Output Image")],
61
+ layout="vertical",
62
+ live=False,
63
+ show_submit_button=True,
64
+ show_clear_button=True,
65
+ )