Spaces:
Sleeping
Sleeping
Update components/utils.py
Browse files- components/utils.py +4 -1
components/utils.py
CHANGED
@@ -1,2 +1,5 @@
|
|
1 |
def format_price(price):
|
2 |
-
return f"
|
|
|
|
|
|
|
|
1 |
def format_price(price):
|
2 |
+
return f"₹{price}"
|
3 |
+
|
4 |
+
def capitalize_words(name):
|
5 |
+
return " ".join(word.capitalize() for word in name.split())
|