sayakpaul HF Staff commited on
Commit
b5ea9f7
·
verified ·
1 Parent(s): 06809f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -158,7 +158,7 @@ def generate_card_svg(repo_id: str):
158
  <text x="48" y="37" font-family="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif" font-size="15" font-weight="600" fill="#0969da">{full_name}</text>
159
 
160
  <!-- Description -->
161
- <text x="20" y="70" font-family="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif" font-size="12" fill="#57606a">{desc}</text>
162
 
163
  <!-- Language -->
164
  {lang_svg}
@@ -227,9 +227,8 @@ with gr.Blocks(
227
  """
228
  # 🎴 GitHub Repository Card Generator
229
 
230
- Generate simple, minimal, and embeddable cards for any public GitHub repository.
231
  Enter a repository ID (e.g., `facebook/react` or `huggingface/transformers`) to get started.
232
- Inspired by https://gh-card.dev/. Vibe-coded with Claude Code 🧑‍💻
233
  """
234
  )
235
 
 
158
  <text x="48" y="37" font-family="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif" font-size="15" font-weight="600" fill="#0969da">{full_name}</text>
159
 
160
  <!-- Description -->
161
+ <text x="20" y="70" font-family="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif" font-size="12" fill="#57606a" text-anchor="start">{desc}</text>
162
 
163
  <!-- Language -->
164
  {lang_svg}
 
227
  """
228
  # 🎴 GitHub Repository Card Generator
229
 
230
+ Generate beautiful, embeddable cards for any public GitHub repository.
231
  Enter a repository ID (e.g., `facebook/react` or `huggingface/transformers`) to get started.
 
232
  """
233
  )
234