Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -986,13 +986,6 @@ if __name__ == "__main__":
|
|
986 |
except Exception as e:
|
987 |
print(f"Критическая ошибка: {str(e)}")
|
988 |
|
989 |
-
if __name__ == "__main__":
|
990 |
-
try:
|
991 |
-
calculator = NutrientCalculator(volume_liters=VOLUME_LITERS)
|
992 |
-
calculator.calculate()
|
993 |
-
calculator.print_report() # Правильный вызов метода класса
|
994 |
-
except Exception as e:
|
995 |
-
print(f"Критическая ошибка: {str(e)}")
|
996 |
|
997 |
|
998 |
|
|
|
986 |
except Exception as e:
|
987 |
print(f"Критическая ошибка: {str(e)}")
|
988 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
989 |
|
990 |
|
991 |
|