Spaces:
Sleeping
Sleeping
Update app.py
Browse files281 unmodified lines282283284285286287288199 unmodified lines488489490491492493494281 unmodified lineshidden_dim = 20num_layers = 2output_dim = 256 # As per the LSTM classnum_epochs = 700model = LSTM(input_dim=input_dim, hidden_dim=hidden_dim, output_dim=output_dim, num_layers=num_layers).to(device)criterion = nn.BCEWithLogitsLoss()199 unmodified linesTimeframe=timeframe_lstm, # Renamed to avoid conflict with ohlcv_timeframemarketType=market_type,ohlcv_timeframe=ohlcv_timeframe,max_retries_per_iteration=4)# Format the output string as requested281 unmodified lines282283284285286287288199 unmodified lines488489490491492493494281 unmodified lineshidden_dim = 20num_layers = 2output_dim = 256 # As per the LSTM classnum_epochs = 800model = LSTM(input_dim=input_dim, hidden_dim=hidden_dim, output_dim=output_dim, num_layers=num_layers).to(device)criterion = nn.BCEWithLogitsLoss()199 unmodified linesTimeframe=timeframe_lstm, # Renamed to avoid conflict with ohlcv_timeframemarketType=market_type,ohlcv_timeframe=ohlcv_timeframe,max_retries_per_iteration=5)# Format the output string as requested
app.py+2-2