DigiP-AI commited on
Commit
faa931a
·
verified ·
1 Parent(s): 4c9bc80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -138,16 +138,7 @@ def feifeichat(image):
138
  print(f"Error: {e}")
139
  return "Please upload a photo"
140
 
141
- # CSS to style the app
142
- css = """
143
- .gradio-container {background-color: MediumAquaMarine}
144
- footer{display:none !important}
145
- #app-container {
146
- max-width: 930px;
147
- margin-left: auto;
148
- margin-right: auto;
149
- }
150
- """
151
 
152
  examples = [
153
  "a beautiful woman with blonde hair and blue eyes",
@@ -156,7 +147,7 @@ examples = [
156
  ]
157
 
158
  # Build the Gradio UI with Blocks
159
- with gr.Blocks(theme=theme, css=css) as app:
160
  # Add a title to the app
161
  gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
162
  with gr.Tabs() as tabs:
 
138
  print(f"Error: {e}")
139
  return "Please upload a photo"
140
 
141
+
 
 
 
 
 
 
 
 
 
142
 
143
  examples = [
144
  "a beautiful woman with blonde hair and blue eyes",
 
147
  ]
148
 
149
  # Build the Gradio UI with Blocks
150
+ with gr.Blocks(theme=theme, css="style.css") as app:
151
  # Add a title to the app
152
  gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
153
  with gr.Tabs() as tabs: