codelion commited on
Commit
054299c
1 Parent(s): 17c5fe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -92,11 +92,12 @@ def create_approach_dropdown():
92
  value="none", label="Approach"
93
  )
94
 
95
- js = "<script async defer src='https://buttons.github.io/buttons.js'></script>"
 
96
 
97
  with gr.Blocks(js=js) as demo:
98
  gr.Markdown("# optillm - LLM Optimization Comparison")
99
- gr.HTML("<a class='github-button' href='https://github.com/codelion/optillm' data-color-scheme='no-preference: light; light: light; dark: dark;' data-icon='octicon-star' data-size='large' aria-label='Star codelion/optillm on GitHub'>Star</a>")
100
 
101
  with gr.Row():
102
  system_message = gr.Textbox(value="", label="System message")
 
92
  value="none", label="Approach"
93
  )
94
 
95
+ html = """<iframe src="https://ghbtns.com/github-btn.html?user=codelion&repo=optillm&type=star&count=true&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
96
+ """
97
 
98
  with gr.Blocks(js=js) as demo:
99
  gr.Markdown("# optillm - LLM Optimization Comparison")
100
+ gr.HTML(html)
101
 
102
  with gr.Row():
103
  system_message = gr.Textbox(value="", label="System message")