epochs-demos commited on
Commit
86b6f09
·
1 Parent(s): 31e7623

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -142,16 +142,16 @@ def make_frontend(
142
  )
143
 
144
  # Apply custom CSS styles to enhance the design and layout
145
- frontend.styles(
146
- # Modify the styles according to your preferences
147
- title="color: #333333; font-size: 28px; font-weight: bold; margin-bottom: 10px; text-align: center;",
148
- description="color: #666666; font-size: 16px; margin-bottom: 20px; text-align: center;",
149
- input="padding: 10px; border-radius: 5px; border: 1px solid #dddddd; font-size: 16px; width: 80%; margin: 0 auto;",
150
- output_gallery="margin-top: 20px;",
151
- output_image="border-radius: 10px; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);",
152
- flag_button="background-color: #ff5555;",
153
- flag_options="color: #333333;",
154
- )
155
 
156
  # # Customize the HTML template to enhance the design and layout
157
  # frontend.template = "gradio/custom.html"
 
142
  )
143
 
144
  # Apply custom CSS styles to enhance the design and layout
145
+ # frontend.styles(
146
+ # # Modify the styles according to your preferences
147
+ # title="color: #333333; font-size: 28px; font-weight: bold; margin-bottom: 10px; text-align: center;",
148
+ # description="color: #666666; font-size: 16px; margin-bottom: 20px; text-align: center;",
149
+ # input="padding: 10px; border-radius: 5px; border: 1px solid #dddddd; font-size: 16px; width: 80%; margin: 0 auto;",
150
+ # output_gallery="margin-top: 20px;",
151
+ # output_image="border-radius: 10px; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);",
152
+ # flag_button="background-color: #ff5555;",
153
+ # flag_options="color: #333333;",
154
+ # )
155
 
156
  # # Customize the HTML template to enhance the design and layout
157
  # frontend.template = "gradio/custom.html"