Getting flat prediction with ARIMA model in Python

I am using an arima model to forecast sales of a given product in python, using statsmodels.tsa.arima.model.ARIMA Sales are daily, with a history of 2019 until today. The model is adjusting correctly to the past, however when performing the forecast, it returns a flat line, as in the image shown.

Is there a way for forecasting to follow the same trend as in the past?

Model application:

model = ARIMA(df_log, order=(2,1,1), seasonal_order=(1,1,1,7), freq = 'D')
results = model.fit()
forecast_arima = np.exp(results.predict(start = 0, end = len(group)+1, dynamic = False)).to_frame(g)


Plot:

Your forecasts vary less than the historical data simply because there is little regularity that ARIMA can fit (especially since you pre-specify the model order - you may want to use an automatic order selection method, as in forecast::auto.arima() for R). "The same trend as in the past" is an unclear requirement - ARIMA simply does not find enough pattern to fit, although you could always add random noise to your forecasts to make them look more sophisticated (but be aware that this will of course make them worse). See this thread and links therein.