patchbanks commited on
Commit
cee0079
·
verified ·
1 Parent(s): fc3e3b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -222,6 +222,11 @@ def generate_and_return_files(bpm, temperature, top_k, uploaded_sf2=None, output
222
 
223
 
224
  custom_css = """
 
 
 
 
 
225
  #generate-btn {
226
  font-size: 18px;
227
  color: white;
@@ -244,7 +249,7 @@ waveform_opts = gr.WaveformOptions(
244
  trim_region_color="#7c4dff"
245
  )
246
 
247
- with gr.Blocks(css=custom_css, theme="soft") as iface:
248
  gr.Markdown("<h1 style='font-weight: bold; text-align: center; font-size: 40px; margin: 0px;'>nanoMPC</h1>")
249
  gr.Markdown("<p style='text-align: center; font-size: 18px;'>nanoMPC is a MIDI transformer model that generates lo-fi and boom bap beats.</p>")
250
 
 
222
 
223
 
224
  custom_css = """
225
+ .gradio-container {
226
+ max-width: 1200px !important;
227
+ margin: 0 auto;
228
+ }
229
+
230
  #generate-btn {
231
  font-size: 18px;
232
  color: white;
 
249
  trim_region_color="#7c4dff"
250
  )
251
 
252
+ with gr.Blocks(css=custom_css, theme="monochrome") as iface:
253
  gr.Markdown("<h1 style='font-weight: bold; text-align: center; font-size: 40px; margin: 0px;'>nanoMPC</h1>")
254
  gr.Markdown("<p style='text-align: center; font-size: 18px;'>nanoMPC is a MIDI transformer model that generates lo-fi and boom bap beats.</p>")
255