openfree commited on
Commit
08b91a1
·
verified ·
1 Parent(s): 529c2af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -1506,12 +1506,7 @@ button[aria-label*="copy"]:hover,
1506
  """
1507
 
1508
  # Gradio interface with Neumorphism theme
1509
- with gr.Blocks(css=css, theme=gr.themes.Base(
1510
- primary_hue="purple",
1511
- secondary_hue="slate",
1512
- neutral_hue="slate",
1513
- font=gr.themes.GoogleFont("Inter")
1514
- )) as demo:
1515
  gr.HTML("""
1516
  <div class="main-header">
1517
  <h1>🔄 Repository Converter Pro</h1>
@@ -1596,8 +1591,7 @@ with gr.Blocks(css=css, theme=gr.themes.Base(
1596
  label="",
1597
  lines=20,
1598
  elem_classes="output-box",
1599
- interactive=False,
1600
- show_copy_button=True
1601
  )
1602
 
1603
  btn_to_hf.click(
@@ -1654,8 +1648,7 @@ with gr.Blocks(css=css, theme=gr.themes.Base(
1654
  label="",
1655
  lines=20,
1656
  elem_classes="output-box",
1657
- interactive=False,
1658
- show_copy_button=True
1659
  )
1660
 
1661
  btn_to_github.click(
 
1506
  """
1507
 
1508
  # Gradio interface with Neumorphism theme
1509
+ with gr.Blocks(head=f"<style>{css}</style>") as demo:
 
 
 
 
 
1510
  gr.HTML("""
1511
  <div class="main-header">
1512
  <h1>🔄 Repository Converter Pro</h1>
 
1591
  label="",
1592
  lines=20,
1593
  elem_classes="output-box",
1594
+ interactive=False
 
1595
  )
1596
 
1597
  btn_to_hf.click(
 
1648
  label="",
1649
  lines=20,
1650
  elem_classes="output-box",
1651
+ interactive=False
 
1652
  )
1653
 
1654
  btn_to_github.click(