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: