DuoNeural commited on
Commit
ec81d2d
Β·
verified Β·
1 Parent(s): eb7ed5b

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -14
app.py CHANGED
@@ -267,16 +267,15 @@ def _build_slot_table(snapshots, K):
267
 
268
  # ─── Gradio UI ────────────────────────────────────────────────────────────────
269
 
270
- _THEME = gr.themes.Base(primary_hue="purple", secondary_hue="cyan", neutral_hue="slate")
271
- _CSS = """
272
- .gradio-container { background: #0a0a15; color: #e0e0e0; }
273
- .gr-button-primary { background: #2d1b69 !important; border: 1px solid #5a3ea0 !important; }
274
- footer { display: none !important; }
275
- """
276
-
277
  def build_demo():
278
  with gr.Blocks(
279
  title="CDM V6 HORN β€” Competitive Docking Memory with Harmonic Oscillator Slots",
 
 
 
 
 
 
280
  ) as demo:
281
 
282
  gr.Markdown("""
@@ -356,10 +355,4 @@ Papers: [zenodo.org/communities/duoneural](https://zenodo.org/communities/duoneu
356
 
357
  if __name__ == "__main__":
358
  demo = build_demo()
359
- demo.launch(
360
- server_name="0.0.0.0",
361
- server_port=7860,
362
- share=False,
363
- theme=_THEME,
364
- css=_CSS,
365
- )
 
267
 
268
  # ─── Gradio UI ────────────────────────────────────────────────────────────────
269
 
 
 
 
 
 
 
 
270
  def build_demo():
271
  with gr.Blocks(
272
  title="CDM V6 HORN β€” Competitive Docking Memory with Harmonic Oscillator Slots",
273
+ theme=gr.themes.Base(primary_hue="purple", secondary_hue="cyan", neutral_hue="slate"),
274
+ css="""
275
+ .gradio-container { background: #0a0a15; color: #e0e0e0; }
276
+ .gr-button-primary { background: #2d1b69 !important; border: 1px solid #5a3ea0 !important; }
277
+ footer { display: none !important; }
278
+ """,
279
  ) as demo:
280
 
281
  gr.Markdown("""
 
355
 
356
  if __name__ == "__main__":
357
  demo = build_demo()
358
+ demo.launch(server_name="0.0.0.0", server_port=7860, share=False)