Skip to content

Commit

Permalink
Add source link
Browse files Browse the repository at this point in the history
  • Loading branch information
cornzz committed Sep 8, 2024
1 parent 8dee86e commit f84c583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,8 @@ button.diff-button:hover {

button.diff-button::after {
content: "Toggle diff";
}

.center {
text-align: center;
}
1 change: 1 addition & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def run_demo(
type="index",
elem_id="examples",
)
gr.Markdown("Source: [GitHub](https://github.com/cornzz/llmlingua-demo)", elem_classes="center")

# Event handlers
prompt.change(activate_button, inputs=prompt, outputs=submit)
Expand Down

0 comments on commit f84c583

Please sign in to comment.