Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|