osanseviero HF staff commited on
Commit
6f31a5e
1 Parent(s): 3fc03bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -71,13 +71,7 @@ description = "Gradio demo for 6DRepNet. To use it, simply click the camera pict
71
  article = "<div style='text-align: center;'><a href='https://github.com/thohemp/6DRepNet' target='_blank'>Github Repo</a> | <a href='https://arxiv.org/abs/2202.12555' target='_blank'>Paper</a></div>"
72
 
73
  image_flip_css = """
74
- .input-image .image-preview {
75
- -webkit-transform: scaleX(-1);
76
- transform: scaleX(-1) !important;
77
- height: 40rem !important; width: 100% !important;
78
- }
79
-
80
- img {
81
  -webkit-transform: scaleX(-1);
82
  transform: scaleX(-1) !important;
83
  }
@@ -85,7 +79,6 @@ img {
85
  .output-image img {
86
  -webkit-transform: scaleX(-1);
87
  transform: scaleX(-1) !important;
88
- height: 40rem !important; width: 100% !important;
89
  }
90
  """
91
 
71
  article = "<div style='text-align: center;'><a href='https://github.com/thohemp/6DRepNet' target='_blank'>Github Repo</a> | <a href='https://arxiv.org/abs/2202.12555' target='_blank'>Paper</a></div>"
72
 
73
  image_flip_css = """
74
+ .input-image .image-preview img{
 
 
 
 
 
 
75
  -webkit-transform: scaleX(-1);
76
  transform: scaleX(-1) !important;
77
  }
79
  .output-image img {
80
  -webkit-transform: scaleX(-1);
81
  transform: scaleX(-1) !important;
 
82
  }
83
  """
84