openfree commited on
Commit
8178f93
Β·
verified Β·
1 Parent(s): 86994a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -100,6 +100,9 @@ def get_space_card(space, index):
100
 
101
  # μ’‹μ•„μš” μˆ˜μ— λ”°λ₯Έ ν•˜νŠΈ 이λͺ¨μ§€
102
  heart_emoji = '❀️' if likes > 100 else 'πŸ’–' if likes > 50 else 'πŸ’' if likes > 10 else '🀍'
 
 
 
103
 
104
  return f"""
105
  <div style='border: none;
@@ -214,7 +217,16 @@ def get_user_spaces():
214
  html_content = f"""
215
  <div style='padding: 20px; background-color: #f5f5f5;'>
216
  <div style='margin-bottom: 20px;'>
217
- <h2 style='color: #333; margin: 0 0 10px 0;'>Spaces by {USERNAME}</h2>
 
 
 
 
 
 
 
 
 
218
  <p style='color: #666; margin: 0;'>Found {len(user_spaces)} public spaces</p>
219
  </div>
220
  <div style='
@@ -227,6 +239,7 @@ def get_user_spaces():
227
  </div>
228
  """
229
 
 
230
  return html_content
231
 
232
  except Exception as e:
 
100
 
101
  # μ’‹μ•„μš” μˆ˜μ— λ”°λ₯Έ ν•˜νŠΈ 이λͺ¨μ§€
102
  heart_emoji = '❀️' if likes > 100 else 'πŸ’–' if likes > 50 else 'πŸ’' if likes > 10 else '🀍'
103
+
104
+
105
+
106
 
107
  return f"""
108
  <div style='border: none;
 
217
  html_content = f"""
218
  <div style='padding: 20px; background-color: #f5f5f5;'>
219
  <div style='margin-bottom: 20px;'>
220
+ <h2 style='color: #333; margin: 0 0 5px 0;'>곡개 가러리(생성 Web/App) by MOUSE</h2>
221
+ <p style='color: #666; margin: 0 0 15px 0; font-size: 0.9em;'>
222
+ ν”„λ‘¬ν”„νŠΈλ§ŒμœΌλ‘œ λ‚˜λ§Œμ˜ μ›Ήμ„œλΉ„μŠ€λ₯Ό μ¦‰μ‹œ μƒμ„±ν•˜λŠ” MOUSE
223
+ <a href='https://openfree-mouse.hf.space' target='_blank'
224
+ style='color: #0084ff; text-decoration: none; transition: color 0.3s;'
225
+ onmouseover='this.style.color="#00a3ff"'
226
+ onmouseout='this.style.color="#0084ff"'>
227
+ https://openfree-mouse.hf.space
228
+ </a>
229
+ </p>
230
  <p style='color: #666; margin: 0;'>Found {len(user_spaces)} public spaces</p>
231
  </div>
232
  <div style='
 
239
  </div>
240
  """
241
 
242
+
243
  return html_content
244
 
245
  except Exception as e: