Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def compute_universe_color(age_in_gyr: float) -> Tuple[int, int, int]:
|
|
| 51 |
"""
|
| 52 |
Estimate the average color of the universe based on its age.
|
| 53 |
|
| 54 |
-
|
| 55 |
age_in_gyr (float): Age of the universe in billions of years (Gyr).
|
| 56 |
|
| 57 |
Returns:
|
|
@@ -82,7 +82,7 @@ def convert_energy(value: float, current_unit: str, target_unit: str) -> float:
|
|
| 82 |
"""
|
| 83 |
Convert an energy value from one unit to another.
|
| 84 |
|
| 85 |
-
|
| 86 |
value: The energy value to convert.
|
| 87 |
current_unit: The unit of the input energy (e.g., 'J', 'eV', 'GeV', 'kcal', 'kWh').
|
| 88 |
target_unit: The desired output unit.
|
|
|
|
| 51 |
"""
|
| 52 |
Estimate the average color of the universe based on its age.
|
| 53 |
|
| 54 |
+
Args:
|
| 55 |
age_in_gyr (float): Age of the universe in billions of years (Gyr).
|
| 56 |
|
| 57 |
Returns:
|
|
|
|
| 82 |
"""
|
| 83 |
Convert an energy value from one unit to another.
|
| 84 |
|
| 85 |
+
Args:
|
| 86 |
value: The energy value to convert.
|
| 87 |
current_unit: The unit of the input energy (e.g., 'J', 'eV', 'GeV', 'kcal', 'kWh').
|
| 88 |
target_unit: The desired output unit.
|