Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,6 @@ def compare_degrees(current_weather:float, optimal_fermentation_degrees:float)->
|
|
| 26 |
return colored(f"RED LIGHT - the difference degrees between optimal and current weather are {dif_degrees}ºC - YOU SHOULD DECREASE THE HEATER BY {dif_degrees}ºC!", 'red')
|
| 27 |
else:
|
| 28 |
return colored(f"GREEN LIGHT - the difference degrees between optimal and current weather are {dif_degrees} - which is in range!", 'green')
|
| 29 |
-
return str(degrees_observation)
|
| 30 |
except Exception as e:
|
| 31 |
return colored(f"Error fetching {str(current_weather)} and {str(optimal_fermentation_degrees)}.", 'yellow')
|
| 32 |
|
|
|
|
| 26 |
return colored(f"RED LIGHT - the difference degrees between optimal and current weather are {dif_degrees}ºC - YOU SHOULD DECREASE THE HEATER BY {dif_degrees}ºC!", 'red')
|
| 27 |
else:
|
| 28 |
return colored(f"GREEN LIGHT - the difference degrees between optimal and current weather are {dif_degrees} - which is in range!", 'green')
|
|
|
|
| 29 |
except Exception as e:
|
| 30 |
return colored(f"Error fetching {str(current_weather)} and {str(optimal_fermentation_degrees)}.", 'yellow')
|
| 31 |
|